MOST Popular Go Framework: Gin (and why you should NOT use it)

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

КОМЕНТАРІ • 77

  • @GolangDojo
    @GolangDojo  2 роки тому +7

    Get your FREE Golang Cheat Sheet -
    golangdojo.com/cheatsheet

    • @scottmcmahon7209
      @scottmcmahon7209 2 роки тому

      Hey mate, I really appreciate what you're doing here.
      It's great to see more people use golang, it's the perfect language to use on the server and eventually it will replace Java and python.
      Please keep the videos coming!

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

      @@fsociety8940 Also I tried two emails and none worked :S

  • @sharkpyro93
    @sharkpyro93 Рік тому +49

    standard library and mux is only good if you're making simple api, for big projects is important to not reinvent the wheel

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

      So do you recommend to use any framework for big project or no?

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

      @@selvakumarmurugesan9013 yes i do, unfortunately Go does not come with a community focused on frameworks, so you are out of options in this regard, the language itself is fine its the community that prefer to write each own its personal framework

    • @user-qr4jf4tv2x
      @user-qr4jf4tv2x Рік тому

      @@sharkpyro93 i can't even find a frameworks or library on very specific stuff like IsSqlinjection or sanitize-html go feels like i have to rewrite everything

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

      With go you are most likely going to reinvent some wheels anyway. The ecosystem is simply very minimalistic and lacks feature-rich frameworks like Django, Laravel, AspNet etc... It is what it is.

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

      @@IvanRandomDude agree

  • @neerajbg
    @neerajbg 2 роки тому +27

    I have used beego, fiber and gin recently in one of my project. I liked fiber most and then gin. simplicity is the most promising factor for my choice.

    • @munashe_dev
      @munashe_dev 2 роки тому +1

      Do know any website tO learn fiber

  • @gerardorebolledo3385
    @gerardorebolledo3385 2 роки тому +14

    Click bait?... Lest watch!!

  • @Scizzzor
    @Scizzzor Рік тому +13

    Sad. I was hoping for benchmark native vs gin as you already have the code done. :(

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

    The more appropriate wording in the title should be: " (and WHEN you should NOT use it) " instead of WHY!

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

    Which Go framework do you recommend?

  • @ElGrupoAlfaPlus
    @ElGrupoAlfaPlus 2 роки тому +10

    @GolanDojo, what framework do you recommend?

    • @cindrmon
      @cindrmon 2 роки тому

      @Tsenguun Tsogbadrakh best framework is no framework, nice one eheh

  • @krige
    @krige Рік тому +13

    16:00 Many Go developers would recommend using something a little bit more lightweight like what? Ghwolock mouse?

  • @timolbrich5715
    @timolbrich5715 2 роки тому +15

    i don't like that you don't pass in the default go handlerFunc. Other frameworks like chi do allow these handlers. I love std lib compatible libraries

  • @juanmacias5922
    @juanmacias5922 2 роки тому +7

    I've only used Gorilla Mux, so this was interesting!

  • @o.k.9142
    @o.k.9142 2 роки тому +4

    I wonder who can fulfil my GET /weapon request ;)

  • @vanillasrecaps6022
    @vanillasrecaps6022 11 місяців тому +3

    Not lightweight enough?? me as a php dev be like: 😂

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

      Yup, seeing symfony this one is lightweight 😂

  • @ronnyzte3
    @ronnyzte3 2 роки тому +9

    gin documentation is very poor, i think

  • @kafeyin
    @kafeyin 2 роки тому +5

    What would you suggest we use in our project?

    • @kafeyin
      @kafeyin 2 роки тому

      I don't mean the framework. Like gorm orm, zap logger..

    • @kafeyin
      @kafeyin 2 роки тому +1

      @@UlrikBrun-ir7mh we use fiber framework

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

      chi

  • @JohannSuarez
    @JohannSuarez 2 роки тому +2

    Love you!

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

    Post request with data in query? Only dumb juniors do it 😂

  • @shreemaan-abhishek
    @shreemaan-abhishek 3 місяці тому

    I love your videos

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

    loved your video

  • @rajaths697
    @rajaths697 2 роки тому +2

    What code editor is that?

  • @jeblus19
    @jeblus19 2 роки тому +2

    How about with iris framework?

    • @dejikuye
      @dejikuye 2 роки тому +1

      If you overlook the bad press it has received, Iris is the finest, in my opinion. I use it in my projects. It includes all features of a standard web framework.

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

    I love your accent. Where's it from?

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

      its more of a speech impediment

  • @scottmcmahon7209
    @scottmcmahon7209 2 роки тому +1

    Has anyone here used chi?

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

      Yep, I enjoy it for its Middleware chaining. Both Gin and Chi use httprouter, which is what makes them so fast.

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

      I use chi just for router . Other std lib is enough

  • @trikztr
    @trikztr 2 роки тому +4

    ayo

  • @user-un4dh4mf4y
    @user-un4dh4mf4y 2 роки тому +1

    Fiber or gin? Help me, please)

    • @SpreadGuts
      @SpreadGuts 2 роки тому +1

      Fiber

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

      No framework

    • @a-yon_n
      @a-yon_n 11 місяців тому

      I took several minutes to check Fiber’s docs, from what I’ve seen, Fiber is better designed, and I like the way it uses ctx.JSON compared to Gin’s ctx.PureJSON.

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

    What is the editor with the terminal you are using?

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

      Looks like JetBrains Goland

  • @prithiviraj3017
    @prithiviraj3017 2 роки тому +2

    Bro i dont have any prior programming experience. Iam a Newbie. i dont know any languages yet even dont know 'C'.
    Can i Start with Golang? Iam interested in Golang very much. But Golang hasnt yet boomed in India. What should I do now? Can I start with python or any other?plz reply bro

    • @sinaukode
      @sinaukode 2 роки тому +2

      IMHO, It's depends on what topic/jobs you want to pick for the future, example if you want to become ML/data science engineer choose python, if you want to become Frontend Web Developer choose JS, if you want to learn about Backend choose Go/js... focus on one thing for first, understand the concept don't chase FOMO, it's not pretty hard to learn the another when you already understand the core concept

    • @prithiviraj3017
      @prithiviraj3017 2 роки тому

      @@sinaukode thank you bro :)

    • @luiggymacias5735
      @luiggymacias5735 2 роки тому

      @@sinaukode i want to learn go for backend, but i dont know what framework should i use

    • @sinaukode
      @sinaukode 2 роки тому +1

      @@luiggymacias5735 just choose one, but I recommend try gin gonic, it's pretty popular

    • @luiggymacias5735
      @luiggymacias5735 2 роки тому

      @@sinaukode but in the video he says that its not recommended

  • @keemkorn
    @keemkorn 2 роки тому +6

    I’ve never EVER seen Go code before and I gotta say, that is the most grody syntax I’ve EVER seen..

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

      Compared to what.. python, nodejs? It's very C/Java like in many ways.. so if you've done C, Java, or C#.. it is very easy to learn.. a couple days tops for most of the language.

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

      @@b3owu1f I hate Java, I hate C, I hate C#

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

      @@keemkorn Well there you go. lol. You're more in to nodejs/python I suspect? php maybe? So you're not a fan of static languages. To each their own.

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

      learn a real programming language kid

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

      @@apexashwin bah dee doo

  • @takemine9653
    @takemine9653 2 роки тому +1

    sir, ur golang cheatseet page not found when i clicked it from my email