The TRUTH About Golang Backend Frameworks

Поділитися
Вставка
  • Опубліковано 4 вер 2023
  • 🔍 What is the BEST Go Framework?
    Are you tangled in the web of Go backend frameworks, wondering which one to choose for your next project? Look no further! In this eye-opening video, we dig deep into the core of popular Go frameworks like Gin, Chi, httpRouter, Fiber, and echo, and unveil the surprising truth-they're more alike than you think!
    There's always a debate between which is the BEST framework. But which one is it really?
    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
    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
  • Наука та технологія

КОМЕНТАРІ • 198

  • @MelkeyDev
    @MelkeyDev  9 місяців тому +40

    I hope you all enjoyed this video!
    I love Go and I love all the Go backend services.
    If you enjoyed this video - please consider liking and subscribing. It means the world to me :)

    • @thiagoassisfernandes
      @thiagoassisfernandes 9 місяців тому +2

      heeey, love your vids, thanks man!
      video suggestion for you: tell your story, how you learned to code, school, college, first job, bad jobs, good jobs...
      I'd really like it

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

      industry looking for a good framework with go. As framework always come up with best outline practices, code maintainability, etc. but thanks for clearing up my confusion... 🙂

    • @hifirulezzz
      @hifirulezzz 4 місяці тому

      Great video, but why you did not include links in the description?

  • @joshuaswick
    @joshuaswick 9 місяців тому +211

    The node devs are bringing their "javascript problem" with them to go frameworks with Fiber and Echo. Just use chi (which actually uses the std lib handler interface) and learn the go paradigms.

    • @tnypxl
      @tnypxl 9 місяців тому +17

      Depends on the project. Always. There is no gate to keep here.

    • @vertion
      @vertion 9 місяців тому +11

      i was using gin and echo i was building small projects and was not enjoying it, then changed to chi and i love it now i cant stop pushing myself to limits currently building a social media app backend in chi

    • @hamm8934
      @hamm8934 9 місяців тому +25

      Exactly. JavaScript devs are so afraid of writing code. They just want a framework to give them a cute API that abstracts most of the programming away from them.

    • @yiro2076
      @yiro2076 9 місяців тому +14

      The best Go framework is: no framework (?)

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

      ​@@hamm8934as a JavaScript dev i confirmed this

  • @fredy.rodriguez
    @fredy.rodriguez 9 місяців тому +93

    Important caveat is that Fiber doesn’t use net/http. That one goes against your point about advocating for the standard library. It is a great library regardless, but it brings in some of the JS abstractions with it trying to replicate Express in Go.
    Found this out the hard way when troubleshooting and growing my project. With the other frameworks, there were more adaptable modules and associated docs. Mostly because they are closer to net/http with true support of the http response interfaces.

    • @depralexcrimson
      @depralexcrimson 5 місяців тому +12

      I use golang to not have to use javascript/js framework syntax... lol, any library that tries to replicate that automatically goes into the recycling bin.

    • @j.r.r.tolkien8724
      @j.r.r.tolkien8724 5 місяців тому

      "JavaScript framework syntax" is too broad. Which framework are we talking about? And whether it's a JS inspired framework or otherwise, it's a framework-An additional layer of abstraction- built on top of a language, in this case, go. @@depralexcrimson

  • @anthonygg_
    @anthonygg_ 9 місяців тому +39

    Vulpix really made me giggle, not gonna lie.

    • @MelkeyDev
      @MelkeyDev  9 місяців тому +5

      Oh HEY!
      YOU MAKE REALLY GOOD GO VIDEOS!

  • @nitzanbs
    @nitzanbs 9 місяців тому +10

    Love the channel!
    A little correction- actually the ones based on fasthttp e.g. fiber are not based on http core go library!

  • @jfdirienzo
    @jfdirienzo 8 місяців тому +19

    I love Chi for that, its just a router built to work with the standard library. Simple and powerfull. I tried Fiber recently and you need to put a little more work to keep an idiomatic codebase but the performance off the server it brings are really nice at first glance.

  • @raenastra
    @raenastra 9 місяців тому +3

    1:08 you fixed the sound effect volume. amazing. thanks man

  • @abenzdev
    @abenzdev 9 місяців тому +38

    Both Chi and httprouter are routers, not frameworks. For anything other than routing you will need to bring in whatever you need/want. Gin/Echo/Fiber provide things beyond routing. You can't put them into the same category. Also httprouter isn't the closest to the std. library. What makes you think so? Look at the handler signature alone. httprouter literally provides adapters to be compatible with the std. interface. Chi doesn't require that.
    Just wanted to clear things up a bit, as i found this video a bit misleading....

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

      Of echo/ gin/ fiber which do you prefer? I've been using chi for a few weeks and like it but want to understand my options better

    • @abenzdev
      @abenzdev 9 місяців тому +4

      ​@@HypothesisI i honestly can't tell, as i don't really have a preference. I personally used only a router (chi or whatever...) for most of my projects. On the other hand something like Gin is really really convenient, if you want a bit less re-inventing the wheel. Fiber... i'm on the fence about. It's based on fasthttp, which leads to being rather incompatible with the std. lib. I'm not sure if the speed alone is justification enough. It has other good features though.
      If you want to understand your options better, the best thing you can do is use them. Play around with them. And not listening to a wild hobo like me ;-).

    • @DaVyze
      @DaVyze 8 місяців тому +2

      Yeah, when we started using Go in our company, we used did what we did in the Node world: "Best web-framework for Go" and we got Gin as a result. It was a pleasure to work with. Until it didn't. We needed a feature that Gin couldn't provide at that time.
      We had to rip it out and use a different library because our Code was too dependent on Gin. It took a weak to rewrite all parts to remove Gin from our Codebase. This wouldn't have happened if we used std lib compliant handlers from the very beginning. Since then being not compatible with the std lib became a deal breaker for us.
      Actually, I tried Fiber for a smaller project, since it claims to be much faster than the std lib. That may be so. I never had the opportunity to fully test it. I did have to give up on the custom web utils, since they're not compatible with fiber.
      But Fiber comes with a client too. And I needed to send multiple requests to multiple JSON endpoints at the same time and then merge the results together. Yeah, it didn't work too well. No matter what I tried, it never really turned out okay. WaitGroups, channels ... you name it (and each goroutine created it's own client to boot).
      It worked during the testing, but failed in production. Had to rip it out and replace it with std lib HTTP Clients. Did it become slower? Yes. But not enough to justify unstable results (those should be deal breakers anyway, we're past the MongoDB era).

  • @Zerorjcrystal
    @Zerorjcrystal 6 місяців тому +14

    I have used gin for all of my professional go microservices, it works really well. Middlewares and route grouping are the features I use most often. It has enough community support and its much faster than the standard library as per the benchmarks.

    • @MelkeyDev
      @MelkeyDev  6 місяців тому +1

      Gin is great. I love Chi personally

    • @user-mi4vf4io7l
      @user-mi4vf4io7l 5 місяців тому

      You wrote that you used gin but gin is slower than fiber why did not you use fiber instead gin?

    • @Zerorjcrystal
      @Zerorjcrystal 5 місяців тому +2

      I like the simplicity and the community gin offers. Also the performance improvement wasn't big enough to make the switch.

  • @coder415
    @coder415 9 місяців тому +14

    in most cases, Fiber is more than enough. crazy fast and easy to learn and use. 🚀

  • @4strodev
    @4strodev 9 місяців тому +3

    That's true, I make mainly backend applications with typescript and node. And for my "degree" (IDK how to say that but I mean that I'm still studying) we are using java and OMG I love the standard library of go and their type system design. The "low level" control that go gives to you for some things. Their simplicity and the tools that come with the language is amazing. Personally I use fiber but because I have chosen to work with it thanks to the "Express inspired" tag, and it works for me and I learned how to use it, so I will keep using it.

  • @Buiscit1738
    @Buiscit1738 9 місяців тому +3

    Fiber, then used echo primarily cause of pocketbase but will have to get stdlib a shot on my next go around.

  • @CodingWithLewis
    @CodingWithLewis 9 місяців тому +12

    At this rate, you should build your own backend framework to compete

    • @MelkeyDev
      @MelkeyDev  9 місяців тому +6

      YO SHOULD I ?!?!?!?!?
      DONT TEMP ME LEWIS

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

    Tried all of those and also iris. I always come back to gin. There's smth really neat about that library

  • @joseandkris
    @joseandkris 9 місяців тому +5

    Used Gin, would use it again. Reminds me of Express, and to me Express is almost perfect backend framework :)

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

      Great to hear!

  • @nixoncode
    @nixoncode 9 місяців тому +7

    I really like chi, and yes! it's the closest to the standard library

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

    I started javascript and php vanilla.
    I believe with both, it is easily possible to write evertyhing you want with it.
    I mean... the frameworks and libraries are build using that same language.....
    I see a lot of people using packages, frameworks or libraries, and not understanding how they work under the hood
    As soon as you create a vanilla construct, they look at you like it's dirty, ugly code, but they dont see that the tools they are using function the exact same way, but prettified with a wrapper function.
    I like go. the ease on how you can set up allmost every tool you like is great( Although... string manipulation is still a challenging concept in golang for me :P)
    The most important things are already under your fingertips, accessible without any configuring a framework or bundler.
    With some extra lines of code, you can easy write the "luxery" that frameworks offer you.

    • @packratrust
      @packratrust 9 місяців тому +5

      no professional wants to waste their time recreating the wheel

    • @ForeverZer0
      @ForeverZer0 9 місяців тому +6

      ​@@packratrust ...and this is why we have abominations like React. I guess not everyone can be professional then; someone has to do the dirty work of actually making the stuff work beneath the 40 layers of abstraction for the script kiddies.

    • @buc991
      @buc991 9 місяців тому +2

      @@ForeverZer0 funny seems like most react haters are so far from frontend and don't know anything about react, what 40 layers, react is dead simple small library, you have js functions that return layout, that's it. If you are thinking it's more professional to write vanilla js and reinvent the wheel for each thing, then i just feel sorry for ppl who will support this mess after you and for time wasted by writing same thing over and over. Maybe you should write your frontend in asm then, it's the only none script real language there.

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

      ​​@@ForeverZer0that's why I always use VanillaJS. I used to develop using JS frameworks, the company had many projects in maintainance... And after 2 years the nightmare begun:
      Almost 90% of all projects couldn't run locally, just because of outdated dependencies. We didn't touch ANYTHING in years, it just stopped working.
      We were a small team, so maintainance phase is TOO important for us.
      That's why, with a lot of effort, we migrate all to VanillaJS. And now, maintenance is 0, because we have 0 dependencies.
      It took a long time to build our "perfect" html/css/js templates, but it's something you do once, and you use it forever.
      While frameworks will always suffer in the maintainance phase, specially when having many projects.

  • @glyphack
    @glyphack 9 місяців тому +2

    I don't know about the go frameworks but this is the best go channel.

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

      You're the best thank you

  • @danielmajer1648
    @danielmajer1648 9 місяців тому +6

    To be fair, I stopped caring about frameworks and their "wars". Until they are well maintained, easy to use and follow the "standard" pattern (so I don't spend more time to learn it, rather implement it from zero) I'm down to any of them... Oh, almost forgot! Have a proper jwt handling system! The only thing that matters for me, if I don't have to touch the ready code in the following few months for the fault of the framework.

  • @RA-xx4mz
    @RA-xx4mz 9 місяців тому +7

    If I’m not using the std library with mux routing, I just gin.
    I’m moving toward htmx and gin’s ShouldBind method does some beautiful field validation for form data.

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

      I gotta check it out

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

    I’m enjoying go ent framework. Have you taken a look at it?

  • @stephenreaves3205
    @stephenreaves3205 5 місяців тому +1

    The only thing I find lacking in the std lib is variables in the url string, but that's a feature that's coming soon

  • @datguy4104
    @datguy4104 9 місяців тому +16

    Once you've built a CRUD app with the stdlib you'll see that these routers don't really offer much outside of a sprinkle of syntactic sugar. That isn't to say you shouldn't use them, but I think it's well worth a few hours using only the stdllib and seeing what you can do with it (everything).

  • @Anthony-wg7fn
    @Anthony-wg7fn 7 місяців тому +3

    Can you make a series on building different apps with just the standard library?

  • @lashlarue7924
    @lashlarue7924 4 місяці тому

    Thanks bro, this was good learning for me. Although my current needs simply don't require anything other than Python and maybe a bit of SQL/HTML, maybe one day I might need a better tool.

  • @kralkatorrik34
    @kralkatorrik34 Місяць тому +1

    That's why I love python ecosystem so much when it comes to web frameworks. All inclusive? Django. Rest API with some freedom? FastAPI. Total freedom? Flask.
    All these have their use cases and serve a purpose. In go I feel that everything is almost the same and there are no clear benefits to using one tool over the other. I guess given some time they will "split" at some point.

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

    I will consider go if you use different photo for the thumbnails.

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

    great video! go is robust and solid by yourself!

  • @RegisBodnar
    @RegisBodnar 3 місяці тому +2

    I've used Gin and the standard library. I ALSO used Revel! Don't use Revel! It uses a separate build tool!

  • @flogginga_dead_horse4022
    @flogginga_dead_horse4022 3 місяці тому +2

    the new 1.22 routing is really gonna help use straight library for this...

    • @MelkeyDev
      @MelkeyDev  3 місяці тому +2

      YEP!
      I have a video about this coming out soon!!

  • @eldemcan
    @eldemcan 9 місяців тому +15

    I like go's extensive standard library but I still believe frameworks is making developers life easier. They abstract things and help you to move faster. when you are writing your own saas application (depending on domain) most of the time you are not interested whats going on under the hood you are interested how fast I can move my mvp and do marketting etc

  • @brattonross
    @brattonross 9 місяців тому +8

    I don't use Go that often, just for small side projects here and there, and I rarely see a need for bringing in a third party dependency for most things. The only thing I wish was in the std lib http router is support for url parameters like `/users/:id`. If it had that, it would be amazing, although it is very good already

    • @automatic241
      @automatic241 9 місяців тому +2

      Maybe try gin-gonic next time. It is not much more than the std stuff but it has routing with URI parameters and a lot of other features.

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

      Fiber does this

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

      fiber can do this easily

    • @Reducer
      @Reducer 3 місяці тому

      Haven't tried yet, but that should be out now in Go 1.22. Previously I've used gorilla/mux for some basic routing with variables, otherwise just plain bog standard http.HandlerFunc.

  • @enbonnet
    @enbonnet 3 місяці тому +1

    After Go 1.22 we'd use any framework?

  • @aggreychinthalima7483
    @aggreychinthalima7483 19 днів тому +1

    thanks for pointing this up .. i will use gin I see how it goes

    • @MelkeyDev
      @MelkeyDev  19 днів тому

      Awesome - let me know!

  • @gustavospam
    @gustavospam 3 місяці тому +1

    wow thanks. I was literally in the situation of going from javascript searching THE framework

  • @OldKing11100
    @OldKing11100 9 місяців тому +5

    I use Go Fiber since it reminded me of FastAPI/Express and I get so much hate for it on Reddit like I kicked a puppy since it uses the fasthttp router. I promised myself that as soon HTTP3 with UDP becomes a thing I'll convert away from Fiber which is easy since all frameworks are roughly the same implementation. Is using Fiber really that big of a cosmic sin?

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

      Nope. Choose the right tool for the job. Good performance? An API that makes you productive? Sall good.
      Chose it for a project in work involving migrating Python microservices to Go. It worked out great.

  • @Kunal70006
    @Kunal70006 9 місяців тому +4

    Hey Melky, perfect timing. Do you know how to deploy a golang backend that uses go fiber on vercel serverless? I can't find any example online

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

      Is it possible, though? Thought Vercel was for Node only

    • @vicentebravocabezas
      @vicentebravocabezas 9 місяців тому +3

      @@HenriqueNewsted vercel does have a runtime for GO but the docs don't help much, i tried yesterday just copying the hello world example they have and not even that worked...

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

      @@vicentebravocabezas yeah I think the .mod and .sum files have to be at the root of the project and the main.go file gotta be inside the api folder (talking about a nextjs project)

  • @kokizzu
    @kokizzu 9 місяців тому +2

    i like fiber, because it have sane default '__'), have adapter to use net/http also, best performance because bufferpool

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

      oh but too bad the default logger is bottleneck, that's why i use other stuff to log (clickhouse directly if structured, or onelog/zerolog/zap)

  • @flannn6
    @flannn6 4 місяці тому +1

    Go is meant to be simple, straightforward and productive. Many people that comes from other languages struggles with this difference and start looking for frameworks and libraries for everything. This language is very easy to adopt and will turn you into an expert programmer very quickly.

    • @MelkeyDev
      @MelkeyDev  4 місяці тому

      It can certainly turn you into a Go expert very quickly

  • @danielniels22
    @danielniels22 Місяць тому

    so i think a beginner for me, just use standard library. if i'm applying to jobs, just follow what framework do they use. is my way thinking right?

  • @dog4ik
    @dog4ik 9 місяців тому +5

    I really like axum

  • @billyy_00
    @billyy_00 24 дні тому

    Really good information and a yugioh fan? Thumbs up for sure

  • @tsolanoff
    @tsolanoff 6 місяців тому +3

    I’d rather trust go team than 3rd party libs developers in security matters.
    No one develops from scratch as we’ve already got rich net/http.
    This sets go apart from other languages: you don’t need so many external dependencies to build web apps. For example, beloved Rust: it has absolutely nothing out of the box, and to make even the simplest web app you need to add a list of crates, and be familiar with their apis that don’t follow any common rules and vary greatly from one to another.

  • @LevyS
    @LevyS 4 місяці тому

    I thought that this video was click bait but was not, thanks for that

  • @kqvanity
    @kqvanity 29 днів тому

    I'll go with fiber given that i'd be more likely to encounter it more often haha

  • @Muhammed-nani964
    @Muhammed-nani964 9 місяців тому +2

    I’m the 5 th person to comment here
    And I guess using standard go is annoying for me bc I came from php and js backend 😂😂

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

      If you came to go to do the same stuff you did on js and php kinda defeats the point of choosing go doesn't it? Just think why you chose go 😅

  • @chovbee
    @chovbee 9 місяців тому +3

    These were great points, but GoChi sounds like a DragonBall character so it's obviously better.

    • @MelkeyDev
      @MelkeyDev  9 місяців тому +3

      Quick, get Shenron and revive dead frameworks

  • @emil_l889
    @emil_l889 9 місяців тому +2

    GOATED video

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

    Cool video

  • @superakaike
    @superakaike 8 місяців тому +2

    I don't quite grasp your point, to be honest. What's the downside now of using Echo or Fiber? Because they are wrappers? If you JUST want to write routes and whatever you describe in your video, you still need to consider a lot of things like CSRF, XSS, sessions, logging, etc. These frameworks solve a bunch of these problems and save a lot of time, which is valuable. I wouldn't recommend using the standard library just for the sake of "because it's raw" or whatever the argument here is, which I'm really trying to understand but can't quite wrap my head around

    • @MelkeyDev
      @MelkeyDev  8 місяців тому +1

      did you reply to the correct video?

    • @filko3578
      @filko3578 8 місяців тому +2

      The point here is that fundamental frameworks and libraries tend to exhibit similar structures. He merely suggested trying out Go's standard library to discern the distinctions. In the end, gaining an understanding of what a framework can accomplish and how to build one yourself is always beneficial for future endeavors and potential optimizations.

    • @groff8657
      @groff8657 8 місяців тому +1

      He never said there was a downside, nor did he say use it in production. This is a video for beginners stuck and being indecisive about what framework to use for learning.
      He highlighted all these frameworks basically do the same things. And that the choice matters less.
      What he said was “explore” the standard library first. He didn’t say never use the frameworks at all.

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

    @MelkeyDev What about BeeGo?

  • @DC-yw5yg
    @DC-yw5yg 9 місяців тому +2

    Godamn son

  • @jefferymuter4659
    @jefferymuter4659 18 днів тому +1

    Omegachads just use the standard lib bruh.
    Im about done with the basic version of my first web server with some authentication. Im sure once i turn it into a big project, ill eat the crow.

  • @KevinLyda
    @KevinLyda 2 місяці тому

    I use oapi-codegen in strict mode as my framework.

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

    you just add a not so well known or maintained library to the list which contrast you point. :)

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

    In this case, I'm creating my own. Let's go to the JS culture in GO hahaha

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

    I've used goa a lot at work, but I would always stick to the standard library for a hobby project

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

      How about for non-hobby projects?

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

    Using a standard lib sounds fun until you have 300 endpoints. I settled on fiber. For any thing less than 50 routes. I use stdlib

  • @thewhiteoaktree
    @thewhiteoaktree 9 місяців тому +3

    Holy shit I did so much PHP is this video real or not

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

    Flow router by Alex Edwards. It's tiny, simple, and great.

  • @martirosharutunyan6572
    @martirosharutunyan6572 Місяць тому

    Hey bro I think you are not read the documentation of fasthttp. It isnt written over net/http golang it has its own worker pull and written over tcp.

  • @imflyingoverclouds
    @imflyingoverclouds 7 місяців тому +2

    I learned go TO NOT LEARN just another framework.

    • @MelkeyDev
      @MelkeyDev  7 місяців тому +2

      no more frameworks please

  • @ethanholz3733
    @ethanholz3733 9 місяців тому +3

    Surpriesed gorilla/mux isn't here. Especially since it's being maintained again.

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

      There just too many! It's definitely a good one

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

      Wait what??? I thought gorilla/mux was abandoned since December 2022

  • @yukning2415
    @yukning2415 4 місяці тому

    too bad I'm not very good at using the standard library

  • @babutschi
    @babutschi Місяць тому

    What about .NET and C#?

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

    it's funny how the definition of a framework differs from PHP to any other language
    in PHP you have a lot of boiler plate already preset that cover logic you find in at least 80% of cases and you don't want to waste time setting them up, BASSICALLY USING THE "REUSE" WORD TO THE MAX
    in other languages you pretty much just have a small wrapper over the basic language, i think most of the time you will waste writing documentation for what does what in each directory

  • @inuoshios
    @inuoshios 9 місяців тому +2

    Hey Melkey. Might be out of context for this particular video, but can do a video showcasing how and when you use queues, tools like rabbitmq in Golang (programming in general)? 🥹

  • @runaway09
    @runaway09 6 місяців тому +1

    not everyone has to do everything from scratch. there are useful middleware provided with the frameworks. its better to learn everything from scratch if you are a beginner but not everyone has the time to implement already existing middleware and other utility functions provided by third party libraries

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

    All my homies use standard library

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

    GO TIME

  • @tim.martin
    @tim.martin 8 місяців тому +2

    Go is the framework.

  • @gearboxworks
    @gearboxworks 4 місяці тому

    Given Go 1.22, time to update this video. 🤔

    • @MelkeyDev
      @MelkeyDev  3 місяці тому +2

      I, believe you are right sir

  • @ivailobsu
    @ivailobsu 3 місяці тому +1

    To put it short: use Chi or accept the c developer ways of making it yourself

    • @killerdroid99
      @killerdroid99 3 місяці тому

      Ok I will use gorilla/mux

    • @MelkeyDev
      @MelkeyDev  3 місяці тому +1

      this is the TLDR right here folks

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

    All of them are just routers with some middleware functionality and some of them use "framework" keyword just because of newcomers coming from JavaScript :)

  • @victorrodriguez7705
    @victorrodriguez7705 9 місяців тому +2

    there is something real about frameworks
    If you pay close attention to them and how they work,
    you forget to become a real programmer in your language,
    for the loss of time that this requires.
    It is better to learn the language well and make your own environment.

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

    Gorilla Mux ?? Std>Gorilla>= Chi >others

  • @kodedart2311
    @kodedart2311 3 місяці тому +1

    Go doesn't need frameworks. Never did. You pick nice modules that fits into your requirements, so your application becomes "a framework". And that is exactly what makes everything great.

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

    Yessssir

  • @peterszarvas94
    @peterszarvas94 4 місяці тому +1

    real chads write their own framework

    • @MelkeyDev
      @MelkeyDev  4 місяці тому

      Check out go-blueprint

  • @drewsarkisian9375
    @drewsarkisian9375 7 місяців тому +1

    Thank goodness it's the TRUTH.

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

      I only speak the TRUTH

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

    I accept Your Challenge

  • @alvarosanchezp
    @alvarosanchezp Місяць тому

    "The JavaScript problem" LMAO

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

    Chi is super Awesome

  • @betterstack
    @betterstack 3 місяці тому

    Loved the video Melkey 🚀If anyone's looking for more Golang videos, we released a logging tutorial and guides to help the community too 💪

  • @bossysmaxx3327
    @bossysmaxx3327 23 дні тому +1

    Bro you have issue with angular

    • @MelkeyDev
      @MelkeyDev  23 дні тому

      no i do not

    • @bossysmaxx3327
      @bossysmaxx3327 23 дні тому

      @@MelkeyDev just guessing since you didn't mention angular but all libraries and frameworks

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

    go-chi da goat

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

    Still found Fiber the best and fastest...

  • @MegaMage79
    @MegaMage79 8 місяців тому +1

    Gin is 40 times faster... than what ?

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

      I'm still looking for the answer too 🙃

    • @ilambuduri
      @ilambuduri 3 місяці тому

      martini @@rick_from_yr

  • @HypothesisI
    @HypothesisI 9 місяців тому +2

    I use chi. I secretly think videos like this are slight unhelpful bc someone coming from python,java, js really should be given an answer... strengths of each...and then you should explain why it doesn't matter and how thin they are and why go is different.... I say this because I don't think the std lib message lands until they've dived into programming go, usually using chi or something...Just my opinion - great vid!
    Edit: and i only say this bc i just lived this lol

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

      Yes, you are right

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

    Like no one ever was...

  • @gustavo-santos-dev
    @gustavo-santos-dev 8 місяців тому +8

    As someone migrating to Go, the biggest problem I see in community is not over-engineering, but under-engineering.
    A lot of Go developers try to build everything from scratch, which increses the lead time of projects, specially if you work with microservices.
    And every new thing you need, you need to build by yourself. What's wrong with using libraries and frameworks? Answer: nothing, it's about choosing your fights. How many security breachs are we deploying just for the sake of "use the std lib".
    Under-engineering is a problem just as big as over-engineering.
    But sure, let's be purists, what could go wrong? zzzzzz

    • @gustavo-santos-dev
      @gustavo-santos-dev 8 місяців тому +3

      Btw, I love Go, I just didn't learn yet to like the Go purists community.

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

    muh "use the stdlib then make your own framework" instead of just using a framework

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

    A bit superficial analysis. Obviously if you just look at the core basic functionality, they all look the same. But if you dive a bit deeper you will start noticing clear and important differences among those tools

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

      Okay! Can you share some examples?

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

    The standard library is the way! If I need a better router, I just go with chi, nothing else! Chi Gang! 😎
    Beginners should not ask a out frameworks for problem Y, they should ask how to do X in Go.

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

      Yep! But theres definitely good other options :)

  • @asiraky
    @asiraky Місяць тому

    So… it’s exactly the same as JavaScript.

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

    Talks about Go, then notes the "JavaScript problem" and only notes front-end frameworks and not one backend framework. Hahahaha.....

    • @MelkeyDev
      @MelkeyDev  6 місяців тому +2

      what the fuck are you talking about

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

      I got your point but it was just an analogy. A good one, I came from JS too

  • @user-qr4jf4tv2x
    @user-qr4jf4tv2x 5 місяців тому

    javascript fked the system

  • @TheSumit22
    @TheSumit22 Місяць тому

    laravel is way more mature than all of these combined.

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

    Can we just stop messing with this dead language

    • @OldKing11100
      @OldKing11100 9 місяців тому +4

      Sure just get rid of Uber, Twitch, Docker, Netflix, Dropbox, Paypal, and of course Google then it will just fade away.

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

      @@OldKing11100 please do

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

      And what should we replace it with ?

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

      @@wolfVFXmc Javascript obviously and none of that garbage typeof fake types. Pure coercion any primitive in an array Javascript.

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

      ​@@succatashyeah js with thousands memory leaks