Golang Has Entered a New Era for Routing

preview_player
Показать описание
Golang 1.22 or Go 1.22 released earlier this year and has brought in a new era for developers on they build their apps. The release is a huge update to how we use Go moving forward

Video Editor: @TheMason

### Twitch
I stream live on Twitch every weekend
Join the amazing community on Discord
I post memes and host Twitter Tech Spaces

The Best Resources to Learn Golang (If I Could Start Over)
Golang Has Entered A New Era for HTTP Routing

SUBSCRIBE OR GET LAID OFF
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝

#coding #neovim #typescript #programming #vim #softwareengineering #codinglife #webdesign #webdevelopment #webdev #javascript #rustlang #rust #twitch #twitchstreamer #programmerhumor #codinghumor #software #softwareengineer #softwaredeveloper #softwaredevelopment #gymbro #gym #programmerhumor #programming #coding #golang #go #golanguage
Рекомендации по теме
Комментарии
Автор

I think that having a great router is making the community evolve to make better frameworks that do not stop to the routing part. Fuego and Chimera for example are great frameworks and I hope we'll see more of them in the future.

nom
Автор

I think this and loop threads thing is my favourite, as someone who hasn't used Go that much but is planning to use in future, this simplifies things. I like this new upgrades

mr.togrul--
Автор

I have quite a few services which are just a few routes and being able to pull out params is fantastic.

erikslorenz
Автор

I feel like the Go gods heard my late night cries <3

AylaCroft
Автор

Wonder when they'd get the net/http package updated with Quic/http3 protocol

ishaanmalhotra
Автор

I really wanna try go, I will. I've used third-party libraries a lot as a js dev and it's kind of defacto so dealing everything with standard libraries sound strange, at the same time SO cool

licokr
Автор

Day 278 of waiting for tagged unions to be added to the language.

nexovec
Автор

still want to use a framework for my rest APIs because they still facilitates the Json conversion in two ways, parsing body and encoding response, and other funcionalities like middleware support, logging, etc

eriknykk
Автор

Are those the Berserk books in the background though? Nice touch!

LeventeKersanszki
Автор

I just startes learning about web servers. So now it should be easier to do pretty much all of the basic stuff one would want to do just with the standard library? Seems great as you can just learn the always available option instead of getting tied to some external tool.

Lynxiro
Автор

KInda of Iterators is most excited, as to me (under exp flag yet, though...)

AlexanderBorshak
Автор

What's the suggestion? Can we use gin or other famous 3rd party frameworks over net/http?

krps
Автор

Still waiting for them to fix the test coverage reporting in (hopefully) 1.22.1 before upgrading.

Also, I know they had to do this weird http verb in the route string because of backwards compatibility stuff, but I wish they gave us some helper methods for each verb to avoid this weird syntax.

GabrielGasp
Автор

I moved my fiber backend to std http just to move it back again. I still don't think its fully there yet. Middleware and error returns for example, much better on gin or fiber still imo.

ThomasWSmith-wmxn
Автор

For me, net/http just need a better Middleware and grouping support and it would be my go-to choice for personal projects, for now i will stick to Chi.

athirsonsilva
Автор

how is you go lsp so fast ? mine is slow af

zotoavinaandriamanamihaga
Автор

I am kinda new to Go and trying to make rest api with go 1.22.0 but this [METHOD ][HOST]/[PATH] doest not working for me. is it just me or other also facting this issue, i tryed searching on stackoverflow but couldnt find anything

jwmcdtj
Автор

when and why did you start using vs code?!

SimplyCode
Автор

Personally, I make every effort to work only with the language's standard libraries.

SergeBrazuca
Автор

The movement of the screen from left to right is very annoying. Please don't do that anymore. Show the whole line or make the window narrower to fit the whole line.

mcatower