Gorilla Toolkit for Golang is revived! But is it too late?
Вставка
- Опубліковано 11 чер 2024
- 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... - Наука та технологія
Great content as always. Nice,clean,comprehensive and just good. Thanks!
Thank you for the lovely feedback! That means a lot to me
great info! also, the new moving icons are very cool
Glad you like them!
Wish go just added a viable router. The go standard library is so great as is, it belongs there.
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!
@@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
Any std library should avoid bloating and supporting the world.
@@johnboy14 this is a page router. Thats a bit of an overreaction.
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.
Agreed! It's pretty nice to not need to worry about any existing projects.
Go-Chi is performing well. But nice to see that Gorilla mux gets further improved.
ua-cam.com/video/rDSOpr3kuWE/v-deo.html
i've been keeping an eye on my old friend golang, looks like some really cool changes are coming!
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
I agree!
i hope they add this quick to the std, would make it much more viable to learn Golang then for me
Would you consider to make a video on the best configuration for LateX in neovim?
I will! It's on the backlog
Thanks for the useful video
Definitely create a vid of bdfls for every programming language.
This is a fun idea!
I also would like this video
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!!
Me too! It was also nice to try other projects and see how they compare.
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.
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.
Thanks!
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.
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!
@@dreamsofcode please do, and if you can tag this comment once you do.., appreciate it.
ua-cam.com/video/rDSOpr3kuWE/v-deo.html
I'm happy with Gin.
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
hell yeah
I want to know more about BDFL.
ua-cam.com/video/rDSOpr3kuWE/v-deo.html
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 !!
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
I'm happy with chi
Chi is really nice. I just did a Golang course for NetNinja using Chi!
What about using Fiber?
Yes
🤣
You should put links in the description to all the resources you mention in the video
He gave them in the description
@@ug1131 I swear they weren't there when I posted 😅 (Or I just missed them)
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?
ua-cam.com/video/rDSOpr3kuWE/v-deo.html
happy it back
Me too!
ua-cam.com/video/rDSOpr3kuWE/v-deo.html
What are your views on Go fiber ? Is it worth using.
Fiber is pretty nice! If you're not looking to conform to the stdlib then it's great!
@@dreamsofcode Along side Fiber, which one other framework will you suggest to learn ? In terms of job requirement or good to know.
@@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.
Why go back from chi to gorilla?
Please do nvim config for typescript for webdev. Thanks
Added to the backlog!
ua-cam.com/video/rDSOpr3kuWE/v-deo.html
it is late for me as a started in golang in last half a year. I just went for fiber and fasthttp overall
Which one do you prefer?
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.
Hopefully there will be a solid solution for null-ls as well
I agree! Still waiting to see what comes out of that
I used Gin in my first project. For my needs it was sufficient.
sir create a video on javascript vim setup
It'll go to the channel members to vote on!
you said java video is next but what's happening ????? reply
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!
1) be polite or shut up
2) don’t complain or make it yourself (for free)
what kind of entitlement is that. Absolutely ridiculous, just make it yourself and stop complaining, the content here is great.
Too late, already switched to fasthttp.
How are you finding it?
@@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.
I think community is overreacting to the mux transition. Even if it is RHEL, its much better than Microsoft at least.
Agreed!
just learn the standard library
Gin does it all. Why bother?
Gin doesn't conform to the http.Handler interface, however 😭
ua-cam.com/video/rDSOpr3kuWE/v-deo.html
Haha eat it scrub 🤣
Java
just use something else
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 😊
cool. but I don't like those magic strings "GET /", "GET /users/{id}". still stick with chi
slog and now http route, go go go
ua-cam.com/video/rDSOpr3kuWE/v-deo.html