The TRUTH About Golang Backend Frameworks

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ •

  • @MelkeyDev
    @MelkeyDev  Рік тому +54

    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 Рік тому +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 Рік тому

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

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

  • @fredy.rodriguez
    @fredy.rodriguez Рік тому +117

    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 Рік тому +15

      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 Рік тому

      "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

  • @joshuaswick
    @joshuaswick Рік тому +281

    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 Рік тому +22

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

    • @vertion
      @vertion Рік тому +17

      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 Рік тому +33

      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 Рік тому +16

      The best Go framework is: no framework (?)

    • @ameer6168
      @ameer6168 Рік тому

      ​@@hamm8934as a JavaScript dev i confirmed this

  • @anthonygg_
    @anthonygg_ Рік тому +53

    Vulpix really made me giggle, not gonna lie.

    • @MelkeyDev
      @MelkeyDev  Рік тому +7

      Oh HEY!
      YOU MAKE REALLY GOOD GO VIDEOS!

  • @abenzdev
    @abenzdev Рік тому +54

    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 Рік тому +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 Рік тому +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 Рік тому +4

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

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

      most of his videos are, other times they feel and are not actually, but most of time knowledgable people like you comment and clearify things for everyone , ty
      ex: goroutine video, (spoilers they make green threads for anyone wondering)

  • @Zerorjcrystal
    @Zerorjcrystal Рік тому +18

    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  Рік тому +1

      Gin is great. I love Chi personally

    • @СэмҚыпшақ
      @СэмҚыпшақ 11 місяців тому

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

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

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

  • @jfdirienzo
    @jfdirienzo Рік тому +24

    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.

  • @coder415
    @coder415 Рік тому +22

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

  • @AttilaOlbrich
    @AttilaOlbrich 4 місяці тому +2

    Just for fun, I am putting together a framework mainly using Standard Library, I've already created database migrations, seeder, route, middleware, authorization, authentication. Simplified controllers, depending what you return, struct, map, string, view or error. It will automatically render json, HTML, or returns error status code. It also has dependency injection, you can map your dependencies, and just type hint the interface where and will be automatically resolved in your controller or middleware. It has HTML views, Caching, Locally stored session data, choice of file, redis, memcache, different databases and so on. Models, SQL Builder. Fun to put it together, maybe I'll never use it for a real project, but who knows.

  • @CodingWithLewis
    @CodingWithLewis Рік тому +18

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

    • @MelkeyDev
      @MelkeyDev  Рік тому +6

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

  • @fliplucky8813
    @fliplucky8813 Рік тому +12

    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 Рік тому +7

      no professional wants to waste their time recreating the wheel

    • @ForeverZer0
      @ForeverZer0 Рік тому +7

      ​@@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 Рік тому +4

      @@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 Рік тому

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

  • @datguy4104
    @datguy4104 Рік тому +19

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

  • @raenastra
    @raenastra Рік тому +3

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

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

    After Go 1.22 we'd use any framework?

  • @joseandkris
    @joseandkris Рік тому +7

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

  • @nixoncode
    @nixoncode Рік тому +8

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

  • @feliche-demiannetliukh3703
    @feliche-demiannetliukh3703 4 місяці тому

    2:25, by that logic you can pick any of frontend frameworks in most cases. They also do the same thing: neat wrapper on top of js

  • @Buiscit1738
    @Buiscit1738 Рік тому +3

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

  • @RA-xx4mz
    @RA-xx4mz Рік тому +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.

  • @nitzanbs
    @nitzanbs Рік тому +11

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

  • @4strodev
    @4strodev Рік тому +5

    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.

  • @ElHeloint
    @ElHeloint Рік тому +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.

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

    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?

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

    I am looking to migrate from NestJS. There main feature I am looking for is having a way to expose types and generate Open API. What is the closest to the standard library I can use?

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

    This was helpful thanks. I'm just starting to learn go and trying to get the lay of the land. One of the questions i had was, do I even need a framework?

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

    Hi So I tried Chi v5 and Fiber v3 to build somewhat similar create user application just to test it out. Complexity wise it was more or less same, no major issue. The only difference I felt was in response time. For me chi was able to give the response back in close to half the time fiber was taking. I am not sure if that is always the case coz I have just recently start go so I might have skipped out on few things. Anyways out of chi and fiber which one in general would be a better choice?

  • @OldKing11100
    @OldKing11100 Рік тому +6

    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 Рік тому +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.

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

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

  • @kralkatorrik34
    @kralkatorrik34 8 місяців тому +3

    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.

  • @brattonross
    @brattonross Рік тому +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 Рік тому +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 Рік тому +1

      Fiber does this

    • @MrKeliv
      @MrKeliv Рік тому

      fiber can do this easily

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

      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.

    • @ersia87
      @ersia87 3 дні тому

      It has that. Since 1.22

  • @Kunal70006
    @Kunal70006 Рік тому +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 Рік тому

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

    • @vicentebravocabezas
      @vicentebravocabezas Рік тому +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 Рік тому

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

  • @jordcodes
    @jordcodes Рік тому +1

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

  • @stephenreaves3205
    @stephenreaves3205 11 місяців тому +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

  • @glyphack
    @glyphack Рік тому +2

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

  • @Anthony-wg7fn
    @Anthony-wg7fn Рік тому +3

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

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

    Yep, made a server just using the standard library. Granted I had some LLM hints but overall it ended not looking and being that much more complicated than Gin… like all you need is a switch statement for the rest methods for routing, etc

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

    I DID follow the path you recommended. I went the purist standard library path. Then my projects grew more complex and I ended up trying to write MY OWN PRIVATE framework just for this project, re-inventing the wheels of Chi, Echo, Gin and Fiber! I was so proud NOT to import modules and frameworks.
    Today I know that THAT was a waste of time! My project took 6 months to let's say ... take shape. With a framework I would have done it in 6 weeks!
    So my advice today is: If you want to get things done, DO use a framework, and then DO study the source code of your framework to understand how it works and why it works the way it does. The debugger is your best friend here.

  • @eldemcan
    @eldemcan Рік тому +16

    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

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

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

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

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

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

    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.

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

    I tend to use huma along with echo. And then when I really need performance I just use fiber. But fiber is very rarely required.

  • @musdevfrog
    @musdevfrog Рік тому +1

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

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

      It can certainly turn you into a Go expert very quickly

  • @crusader_
    @crusader_ Рік тому

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

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

    What about .NET and C#?

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

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

  • @dog4ik
    @dog4ik Рік тому +5

    I really like axum

  • @tsolanoff
    @tsolanoff Рік тому +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.

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

    @MelkeyDev What about BeeGo?

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

    real chads write their own framework

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

      Check out go-blueprint

  • @chovbee
    @chovbee Рік тому +3

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

    • @MelkeyDev
      @MelkeyDev  Рік тому +3

      Quick, get Shenron and revive dead frameworks

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

    Ever since the standard library added support for path variables and http verbs, this advice is when more relevant!

  • @steinkuste3492
    @steinkuste3492 25 днів тому

    i LOOOOOVE the httprouter, using this in production at massive scales and it‘s just awesome. This is literally what the go default router should actually be!

  • @kokizzu
    @kokizzu Рік тому +2

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

    • @kokizzu
      @kokizzu Рік тому

      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)

  • @emil_l889
    @emil_l889 Рік тому +2

    GOATED video

  • @imflyingoverclouds
    @imflyingoverclouds Рік тому +2

    I learned go TO NOT LEARN just another framework.

    • @MelkeyDev
      @MelkeyDev  Рік тому +2

      no more frameworks please

  • @Muhammed-nani964
    @Muhammed-nani964 Рік тому +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 Рік тому +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 😅

  • @kodedart2311
    @kodedart2311 9 місяців тому +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.

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

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

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

      Awesome - let me know!

  • @thewhiteoaktree
    @thewhiteoaktree Рік тому +3

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

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

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

  • @inuoshios
    @inuoshios Рік тому +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)? 🥹

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

    Bro i have one of those headphones and hands down is one of the best and most unique sounding ones, awesome for female vocals as well

  • @ethanholz3733
    @ethanholz3733 Рік тому +3

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

    • @MelkeyDev
      @MelkeyDev  Рік тому +1

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

    • @rick_from_yr
      @rick_from_yr Рік тому

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

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

    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.

  • @abiiranathan
    @abiiranathan Рік тому

    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

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

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

  • @runaway09
    @runaway09 Рік тому +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

  • @gustavo-santos-dev
    @gustavo-santos-dev Рік тому +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 Рік тому +3

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

  • @rosehogenson1398
    @rosehogenson1398 Рік тому +1

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

    • @MelkeyDev
      @MelkeyDev  Рік тому

      How about for non-hobby projects?

  • @SXsoft99
    @SXsoft99 Рік тому

    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

  • @johnxisde
    @johnxisde Рік тому +1

    great video! go is robust and solid by yourself!

  • @victorrodriguez7705
    @victorrodriguez7705 Рік тому +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.

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

    Oh no, I wanted to learn vulpix for a second T.T

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

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

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

    Given Go 1.22, time to update this video. 🤔

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

      I, believe you are right sir

  • @tim.martin
    @tim.martin Рік тому +2

    Go is the framework.

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

    Thank you for this very useful video!

  • @DC-yw5yg
    @DC-yw5yg Рік тому +2

    Godamn son

  • @codingreaction7332
    @codingreaction7332 Рік тому +1

    Cool video

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

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

  • @jefferymuter4659
    @jefferymuter4659 6 місяців тому +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.

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

    Bro you have issue with angular

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

      no i do not

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

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

  • @emil_l889
    @emil_l889 Рік тому +1

    All my homies use standard library

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

    amazing video, go feels nice, small

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

      :) thank you

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

      @@MelkeyDev after looking at hundreds of javascript framework this seems so clean and minimal

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

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

  • @diegoqueiroz6054
    @diegoqueiroz6054 Рік тому

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

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

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

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

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

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

      Ok I will use gorilla/mux

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

      this is the TLDR right here folks

  • @robimalco
    @robimalco Рік тому

    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  Рік тому

      Okay! Can you share some examples?

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

    "The JavaScript problem" LMAO

  • @HypothesisI
    @HypothesisI Рік тому +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

  • @nodidog
    @nodidog Рік тому

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

  • @mileusna
    @mileusna Рік тому

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

  • @emil_l889
    @emil_l889 Рік тому +1

    GO TIME

  • @camacho6727
    @camacho6727 Рік тому

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

  • @drewsarkisian9375
    @drewsarkisian9375 Рік тому +1

    Thank goodness it's the TRUTH.

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

    there is a unskipable fucking ad on this clip which goes like 30 minutes. How the f should people watch this?

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

      really?
      this is the first time im hearing this - i didnt even know it was there

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

    Snorlax is the best Go framework 💪🏻

  • @ykristianhd
    @ykristianhd 21 день тому

    Chi + std library ❤