Building REST APIs in Go 1.22 - New Features

preview_player
Показать описание
Welcome Gophers! In this video, we'll be covering the exciting new functionality in Go 1.22 that allows you to create far more succinct REST APIs in Go!

✅ Subscribe and hit that 🔔 to get notified for all the latest tutorials!

🎥 Recording Setup

Рекомендации по теме
Комментарии
Автор

That's exactly what I needed. Thanks! After 15+ years writing dotnet framework /c# we had to change to golang. Our customer wanted us to write stuff with as few external dependencies as possible. The doco about multiplexer functions available in the latest net/http rollout was confusing to me. Your work clarified what I needed to know without me having to wade through a ton of stuff I already know or don't care about. Well done!

lmergenti
Автор

Thanks! It would be interesting to show how to correctly create a structure for APIs for different entities

kirillbaryba
Автор

at 5:00 you definitively should learn shell shortcuts: Esc-. (Escape followed by dot) which recalls the latest argument. Could save a lot of time ;-).

sebastiengross
Автор

love it!
Can you make a video on how to structure a go app and best pratices? For instance when you need logging, dependency injection, centralized error handeling and so on?

lange
Автор

hahaha finally. damn. this should have been a feature ten years ago but i'll take it now thanks for letting us know

jaimebondoza
Автор

I wanna migrate from gin-gonic to the standard library. Maybe it would be a great topic to approach on the channel.

juscilan
Автор

I work in cybersecurity, dealing with automations, AWS lambdas, and CLI tooling. Does it make sense to transition to Go, or do I need a really compelling use case other than "it would be fun and better for my resume"?

ma
Автор

Hi, I'm running Go 1.23, which I just updated to, and this syntax is not working "GET /comment" compiles but I get 404 Error, using the old style "/comment" works. I'm on a Mac. VS Code and bash are showing my go version as 1.23 (This may be a user error, could I be using an old net/http package?) I just looked at the documentation 1.22.2 and latest 1.23.0 for net/http, and they don't show this as a option. What am I missing?

CeriDavies
Автор

Have you found a way to handle CORS with the new syntax?

dgaa
Автор

I could basically build the same thing in express, what does GO add to the table ?

KaisELHADJMUSTAPHA
Автор

Hey can you tell which vscode theme are you using ?

SportsInfo.Official
Автор

Im new, which is best this one or gin or chi ?

amerh
Автор

When you say this new update doesn't depend on 3rd party packages. Does that mean I don't need to use AXIOS for an SPA like React? I can use only the standard library? Still fairly new to programming so please excuse my ignorance, I've been looking at different backends to support my React project, Thanks for the video!

DevlogBill
Автор

Shit, looking at this whilst being Java dev makes me feel like I’m approaching new density 👀

Btw I’m switching from Java to Go

saucyalex