Golang Has Entered a New Era for Routing

  Рет қаралды 30,048

Melkey

Melkey

Күн бұрын

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
Code: github.com/Mel...
Video Editor: @TheMason
Twitch
I stream live on Twitch every weekend
Twitch : / melkey
Join the amazing community on Discord
Discord: / discord
I post memes and host Twitter Tech Spaces
Twitter: / melkeydev
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

Пікірлер: 58
@nom9762
@nom9762 7 ай бұрын
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.
@cokoala5137
@cokoala5137 7 ай бұрын
first I'm hearing about Fuego and they seem onto it. Thanks for the reco!
@duckwicket890
@duckwicket890 7 ай бұрын
@mr.togrul--9383
@mr.togrul--9383 7 ай бұрын
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
@MelkeyDev
@MelkeyDev 7 ай бұрын
Yeah, loops was huge too.
@erikslorenz
@erikslorenz 7 ай бұрын
I have quite a few services which are just a few routes and being able to pull out params is fantastic.
@MelkeyDev
@MelkeyDev 7 ай бұрын
Yeah, such a great addition
@AylaCroft
@AylaCroft 7 ай бұрын
I feel like the Go gods heard my late night cries
@smnomad9276
@smnomad9276 7 ай бұрын
Even as a joke, that is a blasphemy. There is only one God, Allah. The God of Jesus, Moses, Adam, Mohamed and all the other prophets.
@mieszkogulinski168
@mieszkogulinski168 7 ай бұрын
Insanely helpful, thanks!
@krps7
@krps7 3 ай бұрын
What's the suggestion? Can we use gin or other famous 3rd party frameworks over net/http?
@ishaanmalhotra3008
@ishaanmalhotra3008 7 ай бұрын
Wonder when they'd get the net/http package updated with Quic/http3 protocol
@licokr
@licokr 6 ай бұрын
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
@AlexanderBorshak
@AlexanderBorshak 7 ай бұрын
KInda of Iterators is most excited, as to me (under exp flag yet, though...)
@LeventeKersanszki
@LeventeKersanszki 7 ай бұрын
Are those the Berserk books in the background though? Nice touch!
@MelkeyDev
@MelkeyDev 7 ай бұрын
Yes they are haha
@eriknyk2k
@eriknyk2k 7 ай бұрын
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
@Lynxiro
@Lynxiro 7 ай бұрын
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.
@Tobsson
@Tobsson 7 ай бұрын
Well, there already was. Go is a very "server in mind"-type of language. They just made a small change to make it shine a little brighter. Honestly, 3rd party packages are just a nice to have and not something you'll actually need.
@amit_go
@amit_go 7 ай бұрын
I told ya, 1.22 is a game changer
@MelkeyDev
@MelkeyDev 7 ай бұрын
You did!
@nexovec
@nexovec 7 ай бұрын
Day 278 of waiting for tagged unions to be added to the language.
@MelkeyDev
@MelkeyDev 7 ай бұрын
Day 279 now
@seand7603
@seand7603 7 ай бұрын
Lol nice
@nadeemshareef7508
@nadeemshareef7508 7 ай бұрын
Day 280 😂
@MarkVergelBanguis
@MarkVergelBanguis 7 ай бұрын
285
@GabrielGasp
@GabrielGasp 7 ай бұрын
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.
@ThomasWSmith-wm5xn
@ThomasWSmith-wm5xn 3 ай бұрын
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.
@athirsonsilva3808
@athirsonsilva3808 7 ай бұрын
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.
@xpamamadeus
@xpamamadeus 7 ай бұрын
same here middleware and grouping
@MelkeyDev
@MelkeyDev 7 ай бұрын
Yeah, this is why CHi is still my go-to but, i wont be surprised if this gets added to net/http core in the future
@vinaykumarkharwar177
@vinaykumarkharwar177 7 ай бұрын
If middleware becomes a part, I will stop using node and learn GO.
@flogginga_dead_horse4022
@flogginga_dead_horse4022 7 ай бұрын
I was waiting for this vid!!
@AzizurRehmanKhan-q5g
@AzizurRehmanKhan-q5g 6 ай бұрын
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
@AzizurRehmanKhan-q5g
@AzizurRehmanKhan-q5g 6 ай бұрын
i was searching it all this long, but get it know, i just needed to run "go mod init project name" and it worked for me
@SimplyCode
@SimplyCode 7 ай бұрын
when and why did you start using vs code?!
@Yusuf-ok5rk
@Yusuf-ok5rk 7 ай бұрын
vim streamer slots were full
@pylotlight
@pylotlight 7 ай бұрын
I went the vscodium direction
@zotoavinaandriamanamihaga6661
@zotoavinaandriamanamihaga6661 7 ай бұрын
how is you go lsp so fast ? mine is slow af
@prashlovessamosa
@prashlovessamosa 7 ай бұрын
A comprehensive tut is needed.
@justintie
@justintie 7 ай бұрын
I'll keep using chi
@MelkeyDev
@MelkeyDev 7 ай бұрын
Me too
@eduardosalles9212
@eduardosalles9212 7 ай бұрын
gg
@SergeBrazuca
@SergeBrazuca 7 ай бұрын
Personally, I make every effort to work only with the language's standard libraries.
@MelkeyDev
@MelkeyDev 7 ай бұрын
hell yeah
@ivailopetrov2827
@ivailopetrov2827 7 ай бұрын
all my homies use vlang
@seanturner7400
@seanturner7400 7 ай бұрын
What's your theme?
@MelkeyDev
@MelkeyDev 7 ай бұрын
one dark
@tobyzieglerrr
@tobyzieglerrr 7 ай бұрын
Yeah for what?
@MelkeyDev
@MelkeyDev 7 ай бұрын
For what?
@tobyzieglerrr
@tobyzieglerrr 7 ай бұрын
@@MelkeyDevi probably need to sleep a bit more... i honestly dont understand my own comment anymore. Love your content!
@mcatower
@mcatower 7 ай бұрын
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.
@MelkeyDev
@MelkeyDev 7 ай бұрын
Got it. Thanks for the feedback, will do.
@martinhotmann7868
@martinhotmann7868 7 ай бұрын
You're quite late to the news ... sorry
FULL PROJECT - GO + GRPC
1:39:33
Akhil Sharma
Рет қаралды 51 М.
Ai Code Editors Are Ruining Tech
7:41
Melkey
Рет қаралды 15 М.
Sigma baby, you've conquered soap! 😲😮‍💨 LeoNata family #shorts
00:37
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 20 МЛН
怎么能插队呢!#火影忍者 #佐助 #家庭
00:12
火影忍者一家
Рет қаралды 35 МЛН
The standard library now has all you need for advanced routing in Go.
13:52
This Is The BEST Way To Structure Your GO Projects
11:08
Melkey
Рет қаралды 78 М.
Go 1.23 Released
32:23
ThePrimeTime
Рет қаралды 99 М.
Go 1.23: What You Need to Know About the Latest Features
8:48
THIS is the BEST Way to Write HTTP Services in Golang
13:53
ASMR Programming - Weather App With Javascript - No Talking
20:30
AsmrProg
Рет қаралды 2,8 МЛН
Go 1.22 is bringing about a new future for the language.
4:32
Dreams of Code
Рет қаралды 157 М.
What can you build in Golang?!
11:10
Golang Dojo
Рет қаралды 185 М.