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...
  • Наука та технологія

КОМЕНТАРІ • 91

  • @areeburrehmankhan1166
    @areeburrehmankhan1166 10 місяців тому +1

    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 місяців тому +3

    great info! also, the new moving icons are very cool

  • @hamm8934
    @hamm8934 10 місяців тому +21

    Wish go just added a viable router. The go standard library is so great as is, it belongs there.

    • @dreamsofcode
      @dreamsofcode  10 місяців тому +4

      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 місяців тому +2

      @@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 8 місяців тому

      Any std library should avoid bloating and supporting the world.

    • @hamm8934
      @hamm8934 8 місяців тому

      @@johnboy14 this is a page router. Thats a bit of an overreaction.

  • @LIZzARDsTeam
    @LIZzARDsTeam 10 місяців тому +6

    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 місяців тому +1

      Agreed! It's pretty nice to not need to worry about any existing projects.

  • @raphaelat7711
    @raphaelat7711 10 місяців тому +12

    Go-Chi is performing well. But nice to see that Gorilla mux gets further improved.

    • @dsysd-dev
      @dsysd-dev 9 місяців тому

      ua-cam.com/video/rDSOpr3kuWE/v-deo.html

  • @n0kodoko143
    @n0kodoko143 9 місяців тому +1

    i've been keeping an eye on my old friend golang, looks like some really cool changes are coming!

  • @wcrb15
    @wcrb15 10 місяців тому +13

    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

  • @0xngmi
    @0xngmi 10 місяців тому +2

    i hope they add this quick to the std, would make it much more viable to learn Golang then for me

  • @dementekill
    @dementekill 10 місяців тому +12

    Would you consider to make a video on the best configuration for LateX in neovim?

    • @dreamsofcode
      @dreamsofcode  10 місяців тому +2

      I will! It's on the backlog

  • @pettymanny6487
    @pettymanny6487 10 місяців тому

    Thanks for the useful video

  • @kevinkelche8478
    @kevinkelche8478 10 місяців тому +4

    Definitely create a vid of bdfls for every programming language.

  • @baleshj
    @baleshj 10 місяців тому +1

    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 місяців тому +1

      Me too! It was also nice to try other projects and see how they compare.

  • @andherium
    @andherium 10 місяців тому +1

    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 місяців тому +1

      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.

  • @ricardorien
    @ricardorien 7 місяців тому

    Thanks!

  • @georgelza
    @georgelza 10 місяців тому +1

    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  10 місяців тому +1

      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 10 місяців тому

      @@dreamsofcode please do, and if you can tag this comment once you do.., appreciate it.

    • @dsysd-dev
      @dsysd-dev 9 місяців тому

      ua-cam.com/video/rDSOpr3kuWE/v-deo.html

  • @esra_erimez
    @esra_erimez 9 місяців тому +1

    I'm happy with Gin.

  • @rnp0728
    @rnp0728 8 місяців тому

    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

  • @anon-fz2bo
    @anon-fz2bo 10 місяців тому

    hell yeah

  • @GmanGavin1
    @GmanGavin1 10 місяців тому +2

    I want to know more about BDFL.

    • @dsysd-dev
      @dsysd-dev 9 місяців тому

      ua-cam.com/video/rDSOpr3kuWE/v-deo.html

  • @krishmakhijani
    @krishmakhijani 10 місяців тому

    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  10 місяців тому

      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

  • @ray-lee
    @ray-lee 10 місяців тому +1

    I'm happy with chi

    • @dreamsofcode
      @dreamsofcode  10 місяців тому

      Chi is really nice. I just did a Golang course for NetNinja using Chi!

  • @fahrican9708
    @fahrican9708 10 місяців тому

    What about using Fiber?

  • @nameless4014
    @nameless4014 10 місяців тому

    Yes

  • @yo_mono
    @yo_mono 10 місяців тому

    You should put links in the description to all the resources you mention in the video

    • @ug1131
      @ug1131 10 місяців тому +1

      He gave them in the description

    • @yo_mono
      @yo_mono 10 місяців тому +2

      ​@@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 місяців тому

      ua-cam.com/video/rDSOpr3kuWE/v-deo.html

  • @gleweistam6663
    @gleweistam6663 10 місяців тому

    happy it back

    • @dreamsofcode
      @dreamsofcode  10 місяців тому

      Me too!

    • @dsysd-dev
      @dsysd-dev 9 місяців тому

      ua-cam.com/video/rDSOpr3kuWE/v-deo.html

  • @rahulagarwal968
    @rahulagarwal968 10 місяців тому

    What are your views on Go fiber ? Is it worth using.

    • @dreamsofcode
      @dreamsofcode  10 місяців тому

      Fiber is pretty nice! If you're not looking to conform to the stdlib then it's great!

    • @rahulagarwal968
      @rahulagarwal968 10 місяців тому

      @@dreamsofcode Along side Fiber, which one other framework will you suggest to learn ? In terms of job requirement or good to know.

    • @dreamsofcode
      @dreamsofcode  10 місяців тому +1

      @@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.

  • @VincentFree
    @VincentFree 9 місяців тому

    Why go back from chi to gorilla?

  • @theaveasso
    @theaveasso 10 місяців тому

    Please do nvim config for typescript for webdev. Thanks

    • @dreamsofcode
      @dreamsofcode  10 місяців тому +1

      Added to the backlog!

    • @dsysd-dev
      @dsysd-dev 9 місяців тому

      ua-cam.com/video/rDSOpr3kuWE/v-deo.html

  • @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

  • @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.

  • @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

  • @xxxPrzybyLxxx
    @xxxPrzybyLxxx 10 місяців тому +1

    I used Gin in my first project. For my needs it was sufficient.

  • @codingdestro
    @codingdestro 10 місяців тому

    sir create a video on javascript vim setup

    • @dreamsofcode
      @dreamsofcode  10 місяців тому

      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 10 місяців тому +2

      1) be polite or shut up
      2) don’t complain or make it yourself (for free)

    • @TehGettinq
      @TehGettinq 10 місяців тому +2

      what kind of entitlement is that. Absolutely ridiculous, just make it yourself and stop complaining, the content here is great.

  • @Dev-Siri
    @Dev-Siri 10 місяців тому +2

    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.

  • @manpt123
    @manpt123 10 місяців тому +1

    I think community is overreacting to the mux transition. Even if it is RHEL, its much better than Microsoft at least.

  • @iwolfman37
    @iwolfman37 10 місяців тому

    just learn the standard library

  • @Alex-hr2df
    @Alex-hr2df 10 місяців тому

    Gin does it all. Why bother?

    • @dreamsofcode
      @dreamsofcode  10 місяців тому

      Gin doesn't conform to the http.Handler interface, however 😭

    • @dsysd-dev
      @dsysd-dev 9 місяців тому

      ua-cam.com/video/rDSOpr3kuWE/v-deo.html

  • @pookiepats
    @pookiepats 10 місяців тому

    Haha eat it scrub 🤣

  • @Ashaiksameer
    @Ashaiksameer 10 місяців тому

    Java

  • @jasonshen
    @jasonshen 5 місяців тому

    just use something else

  • @MusiQ8dict
    @MusiQ8dict 9 місяців тому

    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 😊

  • @Justanoobcoder
    @Justanoobcoder 6 місяців тому

    cool. but I don't like those magic strings "GET /", "GET /users/{id}". still stick with chi

  • @trungthanhbp
    @trungthanhbp 9 місяців тому +1

    slog and now http route, go go go

    • @dsysd-dev
      @dsysd-dev 9 місяців тому

      ua-cam.com/video/rDSOpr3kuWE/v-deo.html