Golang Web Server and RSS Scraper | Full Tutorial

preview_player
Показать описание
Learn the Go programming language by building a fully fledged RSS aggregator project in Go.

== Chapter Contents ==

(0:00:00) Intro + Prerequisites
(0:00:00) P1. RSS aggregator project
(0:10:30) P2. Chi router
(0:28:24) P3. Postgres database
(0:55:57) P4. Authentication w/ API keys
(1:35:15) P5. Many to many relationships
(1:56:00) P6. Aggregation worker
(2:22:15) P7. Viewing blog posts
Рекомендации по теме
Комментарии
Автор

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.

ighsight
Автор

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

lange
Автор

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.

nanonkay
Автор

This course is so good!
Followed until the end.
Looking forward to the next tutorial!

paranoia
Автор

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...

EricT
Автор

Your backend course looks solid. I'm only interested in the Go related parts though. Will be signing up in a few days.

kawthooleidevelopers
Автор

This tutorial was brilliant. Thank you so much!

tonyjaradev
Автор

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.

yoskokleng
Автор

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

yaanno
Автор

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.

oleksandrzorenko
Автор

Thank you very much for the knowledge!

lucashartmann
Автор

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

gamitsios
Автор

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 😁

yogeshdharya
Автор

quick overview on that contexts are in go at: 1:08:58

itsharsh
Автор

sql.NullString{ Valid: item.Description != "", String: item.Description } can also be used :)

Connor-yenr
Автор

thanks for the video.

I'd dockerize that and keep it running :)

guitaripod
Автор

i really liked this format, learned a lot!

MVybz
Автор

Hello, thank you very much for this video. The only thing I would ask to help with is to find that text instruction file you are mentioning. Could not find is through the links. Thanks

delfinpacifico
Автор

Like and Sub.
Tried few lessons for doing project step-by-step to learn. This is best one I found. Simple, but effective and understandable. Thank you for video.

P.S. I made my response codes more accurate and used the HTTP library.

НикитаФ-эм
Автор

Upto 2:04 is prerequisites (can add this timestamp in the video as well!)

adrishbora
visit shbcf.ru