Gorilla Toolkit for Golang is revived! But is it too late?

  Рет қаралды 27,153

Dreams of Code

Dreams of Code

Күн бұрын

The gorilla toolkit is back, but 7 months is a long time in software development, and things have changed within the go community. What does this mean for gorilla mux and the Go ecosystem, in the long term, and are there better options coming in the future?
#golang #gorilla #http
Join this channel to get access to perks:
/ @dreamsofcode
My socials:
Discord: / discord
Twitter: / dreamsofcode_io
My Equipment:
Voice over: kit.co/dreamsofcode/voiceover
Coding: kit.co/dreamsofcode/coding
Video Links:
Reddit Post: / the_gorilla_web_toolki...
Gorilla Blog Post: gorilla.github.io/blog/2023-0...
Go ServeMux proposal: github.com/golang/go/issues/6...

Пікірлер: 91
@areeburrehmankhan1166
@areeburrehmankhan1166 10 ай бұрын
Great content as always. Nice,clean,comprehensive and just good. Thanks!
@dreamsofcode
@dreamsofcode 10 ай бұрын
Thank you for the lovely feedback! That means a lot to me
@frittex
@frittex 10 ай бұрын
great info! also, the new moving icons are very cool
@dreamsofcode
@dreamsofcode 10 ай бұрын
Glad you like them!
@n0kodoko143
@n0kodoko143 9 ай бұрын
i've been keeping an eye on my old friend golang, looks like some really cool changes are coming!
@hamm8934
@hamm8934 10 ай бұрын
Wish go just added a viable router. The go standard library is so great as is, it belongs there.
@dreamsofcode
@dreamsofcode 10 ай бұрын
Hopefully not long until the new proposal gets approved. I'm unsure if I like adding the method as a string at the beginning however. It would be nice to use the http.MethodX constants also!
@hamm8934
@hamm8934 10 ай бұрын
@@dreamsofcode I agree with not adding the method in the same string. If this is the proposal that ultimately gets adopted, I would just create a wrapper func with a separate method argument that concatenates the string
@johnboy14
@johnboy14 7 ай бұрын
Any std library should avoid bloating and supporting the world.
@hamm8934
@hamm8934 7 ай бұрын
@@johnboy14 this is a page router. Thats a bit of an overreaction.
@raphaelat7711
@raphaelat7711 9 ай бұрын
Go-Chi is performing well. But nice to see that Gorilla mux gets further improved.
@dsysd-dev
@dsysd-dev 9 ай бұрын
kzbin.info/www/bejne/qHW2gKOoaNCojac
@LIZzARDsTeam
@LIZzARDsTeam 10 ай бұрын
I've been using gorilla mux for 2 years. They managed to archive and resurrect the project within that time. I am very happy that I will not need to switch to a different module.
@dreamsofcode
@dreamsofcode 10 ай бұрын
Agreed! It's pretty nice to not need to worry about any existing projects.
@pettymanny6487
@pettymanny6487 9 ай бұрын
Thanks for the useful video
@0xngmi
@0xngmi 9 ай бұрын
i hope they add this quick to the std, would make it much more viable to learn Golang then for me
@wcrb15
@wcrb15 10 ай бұрын
I'm so glad Gorilla found new maintainers! I switched to Chi, but am very excited for the expansion of the standard library mux. It would be great to have most of those features baked in
@dreamsofcode
@dreamsofcode 10 ай бұрын
I agree!
@kevinkelche8478
@kevinkelche8478 10 ай бұрын
Definitely create a vid of bdfls for every programming language.
@dreamsofcode
@dreamsofcode 10 ай бұрын
This is a fun idea!
@JulioWandekoken
@JulioWandekoken 9 ай бұрын
I also would like this video
@ricardorien
@ricardorien 7 ай бұрын
Thanks!
@baleshj
@baleshj 10 ай бұрын
Many of my projects used gorilla mux initially, but after the project was abandoned had to move to an alternative gin I m very excited to see what new features gorilla mux will have!!
@dreamsofcode
@dreamsofcode 10 ай бұрын
Me too! It was also nice to try other projects and see how they compare.
@andherium
@andherium 10 ай бұрын
why would the path and the http verb be a concatenated string? Why not just accept three params with the first one being the http verb. That way we could use the http.Method constants from the std lib and it would - be really easy to search all the endpoints by a verb using gopls - reduce the possibility of a typo.
@dreamsofcode
@dreamsofcode 10 ай бұрын
Yeah I agree. It's my least favorite part about the solution. Hopefully they improve on it. My guess is that they're trying to make it fit the spec of the current http.ServeMux, but honestly a new method would be preferred IMHO.
@dementekill
@dementekill 10 ай бұрын
Would you consider to make a video on the best configuration for LateX in neovim?
@dreamsofcode
@dreamsofcode 10 ай бұрын
I will! It's on the backlog
@esra_erimez
@esra_erimez 8 ай бұрын
I'm happy with Gin.
@anon-fz2bo
@anon-fz2bo 9 ай бұрын
hell yeah
@georgelza
@georgelza 9 ай бұрын
don't recall, but did you ever do a Fiber vs Gorilla comparison, got to say like the way Fiber works and how you define things using it. would like to hear your thoughts.
@dreamsofcode
@dreamsofcode 9 ай бұрын
I never did, but that's a great idea for a video. I'll add it to the backlog! I definitely want to give it more of a go!
@georgelza
@georgelza 9 ай бұрын
@@dreamsofcode please do, and if you can tag this comment once you do.., appreciate it.
@dsysd-dev
@dsysd-dev 9 ай бұрын
kzbin.info/www/bejne/qHW2gKOoaNCojac
@ray-lee
@ray-lee 10 ай бұрын
I'm happy with chi
@dreamsofcode
@dreamsofcode 10 ай бұрын
Chi is really nice. I just did a Golang course for NetNinja using Chi!
@gleweistam6663
@gleweistam6663 10 ай бұрын
happy it back
@dreamsofcode
@dreamsofcode 10 ай бұрын
Me too!
@dsysd-dev
@dsysd-dev 9 ай бұрын
kzbin.info/www/bejne/qHW2gKOoaNCojac
@rnp0728
@rnp0728 7 ай бұрын
Hi sir, I am a beginner to golang.. I got some knowledge of creating monolithic servers but now I wanna learn MICROSERVICES but stilll there is no proper documentation or videos for it. Can you pls help me
@nameless4014
@nameless4014 10 ай бұрын
Yes
@dreamsofcode
@dreamsofcode 10 ай бұрын
🤣
@krishmakhijani
@krishmakhijani 9 ай бұрын
I always appreciate your work dude just want to know how to config neovim for java can u plzz tell me or make a video on it !!
@dreamsofcode
@dreamsofcode 9 ай бұрын
I've started the voting for the next Neovim video in the series. It'll be either node or Java. Channel members will be able to decide which one it is this month
@fahrican9708
@fahrican9708 9 ай бұрын
What about using Fiber?
@yo_mono
@yo_mono 10 ай бұрын
You should put links in the description to all the resources you mention in the video
@ug1131
@ug1131 10 ай бұрын
He gave them in the description
@yo_mono
@yo_mono 10 ай бұрын
​@@ug1131 I swear they weren't there when I posted 😅 (Or I just missed them)
@dreamsofcode
@dreamsofcode 10 ай бұрын
I was falling asleep last night and realized I hadn't done them! So I added them a few hours before the video was scheduled. Maybe it was a caching issue?
@dsysd-dev
@dsysd-dev 9 ай бұрын
kzbin.info/www/bejne/qHW2gKOoaNCojac
@xxxPrzybyLxxx
@xxxPrzybyLxxx 10 ай бұрын
I used Gin in my first project. For my needs it was sufficient.
@GmanGavin1
@GmanGavin1 9 ай бұрын
I want to know more about BDFL.
@dsysd-dev
@dsysd-dev 9 ай бұрын
kzbin.info/www/bejne/qHW2gKOoaNCojac
@rahulagarwal968
@rahulagarwal968 9 ай бұрын
What are your views on Go fiber ? Is it worth using.
@dreamsofcode
@dreamsofcode 9 ай бұрын
Fiber is pretty nice! If you're not looking to conform to the stdlib then it's great!
@rahulagarwal968
@rahulagarwal968 9 ай бұрын
@@dreamsofcode Along side Fiber, which one other framework will you suggest to learn ? In terms of job requirement or good to know.
@dreamsofcode
@dreamsofcode 9 ай бұрын
@@rahulagarwal968 Gorilla/mux and the net/http package are great for foundational. Otherwise, Gin is also good for learning. Gin & Fiber are v similar though.
@laughingvampire7555
@laughingvampire7555 3 ай бұрын
I think open source projects need stronger legal protections than a license, otherwise these companies like RedHat will abuse and take over the "free code" for them. Like a Contributors & Users Cooperative, or an Open Cooperative ala p2p foundation.
@VincentFree
@VincentFree 9 ай бұрын
Why go back from chi to gorilla?
@cristhiamtovar9003
@cristhiamtovar9003 10 ай бұрын
Hopefully there will be a solid solution for null-ls as well
@dreamsofcode
@dreamsofcode 10 ай бұрын
I agree! Still waiting to see what comes out of that
@arieheinrich3457
@arieheinrich3457 10 ай бұрын
it is late for me as a started in golang in last half a year. I just went for fiber and fasthttp overall
@dreamsofcode
@dreamsofcode 10 ай бұрын
Which one do you prefer?
@theaveasso
@theaveasso 10 ай бұрын
Please do nvim config for typescript for webdev. Thanks
@dreamsofcode
@dreamsofcode 10 ай бұрын
Added to the backlog!
@dsysd-dev
@dsysd-dev 9 ай бұрын
kzbin.info/www/bejne/qHW2gKOoaNCojac
@codingdestro
@codingdestro 9 ай бұрын
sir create a video on javascript vim setup
@dreamsofcode
@dreamsofcode 9 ай бұрын
It'll go to the channel members to vote on!
@sameershaik8885
@sameershaik8885 10 ай бұрын
you said java video is next but what's happening ????? reply
@dreamsofcode
@dreamsofcode 10 ай бұрын
The neovim series goes to a vote, and I do about one video a month at the moment. So it's next to be voted on in the series, but it's up to the channel members to decide!
@jc.baptiste
@jc.baptiste 9 ай бұрын
1) be polite or shut up 2) don’t complain or make it yourself (for free)
@TehGettinq
@TehGettinq 9 ай бұрын
what kind of entitlement is that. Absolutely ridiculous, just make it yourself and stop complaining, the content here is great.
@manpt123
@manpt123 9 ай бұрын
I think community is overreacting to the mux transition. Even if it is RHEL, its much better than Microsoft at least.
@dreamsofcode
@dreamsofcode 9 ай бұрын
Agreed!
@Dev-Siri
@Dev-Siri 10 ай бұрын
Too late, already switched to fasthttp.
@dreamsofcode
@dreamsofcode 10 ай бұрын
How are you finding it?
@Dev-Siri
@Dev-Siri 10 ай бұрын
​@@dreamsofcode fasthttp paired with fasthttp/router is awesome. It is _blazingly fast_ and has minimal memory footprint (which I like & I think that it maybe the fastest Go http solution) & it also has easy-to-use apis and basic pattern matching for URLs which works for most of my apps. Its now my go-to http solution in Go even for non-performance critical apps.
@iwolfman37
@iwolfman37 9 ай бұрын
just learn the standard library
@Alex-hr2df
@Alex-hr2df 9 ай бұрын
Gin does it all. Why bother?
@dreamsofcode
@dreamsofcode 9 ай бұрын
Gin doesn't conform to the http.Handler interface, however 😭
@dsysd-dev
@dsysd-dev 9 ай бұрын
kzbin.info/www/bejne/qHW2gKOoaNCojac
@pookiepats
@pookiepats 9 ай бұрын
Haha eat it scrub 🤣
@Ashaiksameer
@Ashaiksameer 9 ай бұрын
Java
@jasonshen
@jasonshen 5 ай бұрын
just use something else
@Justanoobcoder
@Justanoobcoder 5 ай бұрын
cool. but I don't like those magic strings "GET /", "GET /users/{id}". still stick with chi
@MusiQ8dict
@MusiQ8dict 8 ай бұрын
Everyone, i have 12 years into manual testng. Good in VBA hv basic knowledge in java and python. Started learning GoLang from last 1 week. I am not able to comprehend the discussion in this video. Most tutorial are upto basis stuffs. How should i learn stuffs to get into microservices development. I am from India. Unless i get expertise to advance level stuffs and unless am aware o all tool stack needed ro accomplish project task, i wont get job. Kindly guide me. Please share youtube playlist links as well. Thanks 😊
@trungthanhbp
@trungthanhbp 9 ай бұрын
slog and now http route, go go go
@dsysd-dev
@dsysd-dev 9 ай бұрын
kzbin.info/www/bejne/qHW2gKOoaNCojac
Rust for TypeScript devs : Borrow Checker
8:49
ThePrimeagen
Рет қаралды 211 М.
Who Will Eat The Porridge First The Cockroach Or Me? 👧vs🪳
00:26
Giggle Jiggle
Рет қаралды 21 МЛН
100❤️
00:21
Nonomen ノノメン
Рет қаралды 9 МЛН
La final estuvo difícil
00:34
Juan De Dios Pantoja
Рет қаралды 22 МЛН
[柴犬ASMR]曼玉Manyu&小白Bai 毛发护理Spa asmr
01:00
是曼玉不是鳗鱼
Рет қаралды 31 МЛН
What's New In Python 3.13 In 1 Minute
1:15
Practical Coding
Рет қаралды 2,4 М.
WebSockets in 100 Seconds & Beyond with Socket.io
8:31
Fireship
Рет қаралды 952 М.
This Makes Golang CLI Development So MUCH Better
7:34
Melkey
Рет қаралды 18 М.
The Simplest Tech Stack
3:55
Awesome
Рет қаралды 100 М.
Adding a cache is not as simple as it may seem...
13:29
Dreams of Code
Рет қаралды 103 М.
Why I'm no longer using Copilot
7:07
Dreams of Code
Рет қаралды 156 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,5 МЛН
Livecoding the integration of Kyber in Go's crypto/tls
3:36:48
Filippo Valsorda
Рет қаралды 417
A4 Reset to zero
0:26
STYLE YT
Рет қаралды 17 М.
Apple, как вас уделал Тюменский бренд CaseGuru? Конец удивил #caseguru #кейсгуру #наушники
0:54
CaseGuru / Наушники / Пылесосы / Смарт-часы /
Рет қаралды 4,2 МЛН
Apple. 10 Интересных Фактов
24:26
Dameoz
Рет қаралды 119 М.
Nokia 3310 versus Red Hot Ball
0:37
PressTube
Рет қаралды 2,4 МЛН
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 165 М.
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 1,5 МЛН