How to structure your Go projects

Sdílet
Vložit
  • čas přidán 8. 05. 2024
  • In this video I walk through how I structure all of my Golang projects, explaining the directory structure, the source files, where I put unit and integration tests, as well as some key tooling that I use like Makefiles and mockery.
    Link to golang-project-structure repo: github.com/golang-standards/p...
    Link to tutorial weatherman source code: github.com/sigrdrifa/weatherm...
    Hope you enjoyed this video and let me know if you want me to cover any specific topics in the comments below!
  • Věda a technologie

Komentáře • 24

  • @eldr-io
    @eldr-io  Před 15 dny

    The repo for the code in this tutorial is here: github.com/sigrdrifa/weatherman-tutorial
    And the editor I use is Neovide (neovim), the config is here: github.com/sigrdrifa/nvim
    thanks for watching!

  • @felixna5650
    @felixna5650 Před 2 měsíci

    Would love to see more about how you test stuff!! Thanks for the videos

  • @jevve11er
    @jevve11er Před měsícem

    Your videos are easy to understand and they are really useful. 👍

  • @vb_gh
    @vb_gh Před 6 dny

    Amazing video! Shouts from Ghana 🇬🇭.

  • @Mikkysam52
    @Mikkysam52 Před 2 měsíci +2

    yes please, a video on writing tests

  • @tomkoefod
    @tomkoefod Před 7 dny

    awesome background btw on your term.

  • @luismiguelbaezaponte9208
    @luismiguelbaezaponte9208 Před měsícem +1

    I really like your neovim configuration, could you make a video about it?

  • @vb_gh
    @vb_gh Před 6 dny

    Can you kindly make a video on concurrency in go. Featuring go routines, channels (buffer and unbuffered channels) in regards to when to use a either one, wait groups and mutex.
    Also various real life use cases of each. When should one use a mutex over a channel and vice versa.

    • @eldr-io
      @eldr-io  Před 5 dny

      Great idea, on it!

    • @eldr-io
      @eldr-io  Před 5 dny

      Just posted a video about this :) Thanks for the suggestion

  • @mr.daniish
    @mr.daniish Před 16 dny

    Love from Pakistan ❤

  • @veag687
    @veag687 Před 2 měsíci +1

    Fit!

  • @mlitzy
    @mlitzy Před měsícem +1

    what is the setup causing the cursor to steak across the screen? I think it makes it easier to follow.

    • @jrtomsic
      @jrtomsic Před měsícem +2

      I think the cursor streak is a feature of neovide, a neovim GUI

    • @eldr-io
      @eldr-io  Před měsícem

      Thanks that was my thinking too. I'm using Neovide (a NVim GUI) and NVChad which is a Neovim distribution

  • @hansqid
    @hansqid Před měsícem

    hey could you please make a video how to make vim environment like u? appreciate if u do it, thankss

  • @p.owolabi.e
    @p.owolabi.e Před měsícem +4

    We know she is an Ai right

  • @bjo004
    @bjo004 Před 26 dny

    Was waiting for you to cover go.mod and go.sum. Great video btw.

  • @yasminbennett6747
    @yasminbennett6747 Před 2 měsíci +3

    another great video ⸜(。˃ ᵕ ˂ )⸝♡ #womeninstem

  • @RonNorthcutt
    @RonNorthcutt Před 2 měsíci

    Good stuff! But, the links in the description don't work and are cut off. Anyone who cares can still find them pretty easily, but still :D

    • @eldr-io
      @eldr-io  Před 2 měsíci +1

      Hey, yeah since I only just created this channel, youtube won't let me post full links yet :(

  • @user24233
    @user24233 Před měsícem

    drop your dot files, your desktop is very pretty

  • @ellywithpluto125
    @ellywithpluto125 Před měsícem +1

    after we had a gaming girl, it's time for coding girl.