Golang Web Server and RSS Scraper | Full Tutorial

  Рет қаралды 58,383

Boot dev

Boot dev

Күн бұрын

Пікірлер: 73
@ighsight
@ighsight Жыл бұрын
This is the first Golang video I’ve seen that actually walks through concurrency with a *real* use case. Most use trivial examples that I didn’t find helpful. Also really appreciate how Lane leaves his errors in the video and talks through how he solves them. MUCH more useful than just showing perfect code. Less experienced devs will encounter basic errors, and seeing the thought process behind solving them is very valuable. Truly a top tier Golang tutorial, thank you for devoting the time to do this.
@bootdotdev
@bootdotdev Жыл бұрын
glad you liked it!
@nanonkay5669
@nanonkay5669 3 ай бұрын
Sqlc and goose is a combination I've been excited to put together and did it on my own for a bit. I like the two because no ORM, reported excellent performance, typesafe queries, raw SQL to stay familiar with sql (i.e. no magic from ORMs) and simplicity.
@NphiniT
@NphiniT 25 күн бұрын
I'm getting this error trying to install sqlc: error: cc1.exe: sorry, unimplemented: 64-bit mode not compiled in I'm on windows. Do you have any ideas how to get around this?
@nanonkay5669
@nanonkay5669 24 күн бұрын
@@NphiniT try putting the error in chatgpt or Gemini and see what it says. Otherwise, I use wsl2 for my dev work and that's where I installed it
@NphiniT
@NphiniT 24 күн бұрын
@@nanonkay5669 Oh good idea 😅. Haven't used chatGPT since last year 😂🤣
@NphiniT
@NphiniT 24 күн бұрын
@@nanonkay5669 Switched to WSL2. I think I'll do all my development here form now on. Thanks
@nanonkay5669
@nanonkay5669 24 күн бұрын
@@NphiniT Sounds like maybe you didn't install them correctly. Did you do the installation just as how it appeared in the documentation?
@paranoia77
@paranoia77 Жыл бұрын
This course is so good! Followed until the end. Looking forward to the next tutorial!
@0lange
@0lange Жыл бұрын
So glad I ran into this channel. It would be great if you could make a video focused more backend development with Go. For instance, I know what an interface, struct, slice, etc is but how and when do you use them when working on a real-world backend application? The video could be something like "Go for backend development" or something else
@bootdotdev
@bootdotdev Жыл бұрын
Be sure to sign up on Boot.dev for more of that kind of content
@lucashartmann2582
@lucashartmann2582 9 күн бұрын
Thank you very much for the knowledge!
@tonyjaradev
@tonyjaradev Ай бұрын
This tutorial was brilliant. Thank you so much!
@yoskokleng3658
@yoskokleng3658 6 ай бұрын
you got my subscription for this video. i never see golang in real use case before. thanks for make this video happens. If could, please help make video about GO programming basic to advance.
@oleksandrzorenko231
@oleksandrzorenko231 Жыл бұрын
The simpler way to add json tags to the struct generated by sqlc is to add this one line to sqlc.yaml "emit_json_tags: True': go: emit_json_tags: True out: "internal/database" Hope it helps.
@bootdotdev
@bootdotdev Жыл бұрын
good call!
@CoolestPossibleName
@CoolestPossibleName 9 ай бұрын
Thank you so much
@EricT43
@EricT43 6 ай бұрын
Great video, thanks. I've built JSON REST APIs in Go before, but I've never used sqlc or goose. I'm looking forward to using those tools in my next project...
@zahid1909
@zahid1909 Жыл бұрын
Great post! You are a legend ❤
@bootdotdev
@bootdotdev Жыл бұрын
Wow, thanks
@kawthooleidevelopers
@kawthooleidevelopers 4 ай бұрын
Your backend course looks solid. I'm only interested in the Go related parts though. Will be signing up in a few days.
@yaanno
@yaanno 2 ай бұрын
Nice tutorial, thanks! One thing: if you add emit_json_tags: true to the sqlc.yaml file, you don't have to transform the fields manually in the models.go
@bootdotdev
@bootdotdev Ай бұрын
agreed, but also I sometimes like the separation of concerns that comes with not tying the models strictly together sometimes
@itsharsh5997
@itsharsh5997 4 күн бұрын
quick overview on that contexts are in go at: 1:08:58
@MVybz
@MVybz Жыл бұрын
i really liked this format, learned a lot!
@bootdotdev
@bootdotdev Жыл бұрын
Thank you kindly
@gamitsios
@gamitsios 8 күн бұрын
Just finished wathcing the tutorial and I find it amazing! it tackles a lot of topics and the way you are explaining things makes them clear in my opinion. I have a question though, why are we taking the approach to create a new handler signature (authedHandler type) and not stick with the regular signature of (ReponseWriter, *Request) and just pass the authed user via a context to the children? This way if for example we wanted to have a chain of middlewarres and create an abstraction to call our middlewares with the handler we could rely on the fact that all middlewares have the same signature: func(http.Handler) http.Handler. I get that this would add extra complexity to the tutorial and would be out of scope. But im curious to see your way of thinking or if I am missing anything
@guitaripod
@guitaripod 4 ай бұрын
thanks for the video. I'd dockerize that and keep it running :)
@Connor-ye6nr
@Connor-ye6nr 5 ай бұрын
sql.NullString{ Valid: item.Description != "", String: item.Description } can also be used :)
@mr.daniish
@mr.daniish Жыл бұрын
Lane dropping golden nuggets!
@bootdotdev
@bootdotdev Жыл бұрын
Glad you like it!
@ElixirVIP
@ElixirVIP 16 күн бұрын
Great 👏🏻
@yogeshdharya3857
@yogeshdharya3857 Жыл бұрын
Hey Lane ! Was looking for a video on this playlist which covered the context package of go Lang . However I couldn't find one , so could u please make one for us ! M quite sure plenty of subscribers like me want to understand contexts . U make things easy to understand 😁
@josephantony6842
@josephantony6842 5 ай бұрын
Great tutorial!
@azazahmedlipu9738
@azazahmedlipu9738 Жыл бұрын
You are insane ❤🔥
@bootdotdev
@bootdotdev Жыл бұрын
Quite sane I assure you
@lesnavevericka7093
@lesnavevericka7093 3 ай бұрын
thanks a lot for the tutorial
@mlsandreas
@mlsandreas Жыл бұрын
Thank you!!!!
@bootdotdev
@bootdotdev Жыл бұрын
You're welcome!
@adrishbora
@adrishbora Жыл бұрын
Upto 2:04 is prerequisites (can add this timestamp in the video as well!)
@bootdotdev
@bootdotdev Жыл бұрын
Updated thanks!
@charlesozochukwu3563
@charlesozochukwu3563 11 ай бұрын
Am on windows anytime i run sqlc generate i keep getting an error, postgres cant run on windows how do i fix that
@bootdotdev
@bootdotdev 11 ай бұрын
WSL 2
@nabinmaiti9167
@nabinmaiti9167 Жыл бұрын
Thank you lane
@bootdotdev
@bootdotdev Жыл бұрын
You're welcome!
@NphiniT
@NphiniT 25 күн бұрын
SQLC installation gives me this error: cc1.exe: sorry, unimplemented: 64-bit mode not compiled in Searched hours and unable to find what's wrong. Any help appreciated
@bootdotdev
@bootdotdev 22 күн бұрын
We will be able to help in the discord!
@NphiniT
@NphiniT 22 күн бұрын
@@bootdotdev Link to the discord please
@anuragnayak9704
@anuragnayak9704 Жыл бұрын
I'm not able to connect to the database through DB_URL
@bootdotdev
@bootdotdev Жыл бұрын
Join the discord to get help :)
@ripulhandoo2631
@ripulhandoo2631 Жыл бұрын
PS C:\Users\HP\Desktop\go> sqlc generate # package postgres schema.sql:1:1: the PostgreSQL engine does not support Windows. What to do??
@bfkgod
@bfkgod Жыл бұрын
ask chatgpt
@bootdotdev
@bootdotdev Жыл бұрын
Join the discord for help :)
@Alex-hy7nx
@Alex-hy7nx Жыл бұрын
I know this may be a bit too late, and that you've probably already got your answer, but try to use WSL (Windows Subsystem for Linux)
@CoolestPossibleName
@CoolestPossibleName 9 ай бұрын
@@Alex-hy7nx I'm using it in a docker container. it's easier
@juniordataengineer
@juniordataengineer Жыл бұрын
Would a project like this make for a backend portfolio project ? When looking at building portfolio projects there is more to show in the front end than the backend .
@TannerBarcelos
@TannerBarcelos 4 ай бұрын
Absolutely. You could use GenAI to build the UI super super basic just to make it a little easier to reason about for the viewers of the project.
@tomaszolek
@tomaszolek Жыл бұрын
Is there a GitHub repo?
@bootdotdev
@bootdotdev Жыл бұрын
All the code is on Boot.dev!
@datokhojava6421
@datokhojava6421 11 ай бұрын
hey, I got a error and its says that >The PostgreSQL does not support windows. what to do ?
@bootdotdev
@bootdotdev 11 ай бұрын
Honestly... Use linux
@MediumSizedBagel
@MediumSizedBagel 9 ай бұрын
use docker
@Sibixpur
@Sibixpur 17 күн бұрын
or just use wsl
@РодионЧаускин
@РодионЧаускин 7 күн бұрын
Moore Sandra Williams Elizabeth Harris Betty
@abyan-majid
@abyan-majid 3 ай бұрын
29:20 43:10
@mahendranath2504
@mahendranath2504 Жыл бұрын
Thank you so much 👍👋👌🫡🙏🏻👏🤝😎✌️🫰🏻
@bootdotdev
@bootdotdev Жыл бұрын
You're welcome!
@fabtjar
@fabtjar Жыл бұрын
Is there a reason to prefer "go build && ./rssagg" over "go run ." ?
@bootdotdev
@bootdotdev Жыл бұрын
I prefer to build because it perfectly mimics production, but tbh doesn't matter much
Go (Golang) Tutorial 8 - Functions
14:39
Coding with Patrik
Рет қаралды 99
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 13 МЛН
FULL Introduction To HTMX Using Golang
2:02:31
ThePrimeagen
Рет қаралды 375 М.
Пишем REST API сервис на Go - УЛЬТИМАТИВНЫЙ гайд
2:57:51
Николай Тузов — Golang
Рет қаралды 128 М.
Learn GO Fast: Full Tutorial
1:07:53
Alex Mux
Рет қаралды 429 М.
The Simplest Tech Stack
9:38
Awesome
Рет қаралды 120 М.
Writing My Own Database From Scratch
42:00
Tony Saro
Рет қаралды 232 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 61 М.
DIY Golang Web Server: No Dependencies Needed!
25:04
Flo Woelki
Рет қаралды 7 М.
The TRUTH About Golang Backend Frameworks
6:31
Melkey
Рет қаралды 120 М.
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26