How to structure your Go projects

  Переглядів 7,843

eldr-io

eldr-io

День тому

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!

КОМЕНТАРІ: 24
@eldr-io
@eldr-io 15 днів тому
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 2 місяці тому
Would love to see more about how you test stuff!! Thanks for the videos
@jevve11er
@jevve11er Місяць тому
Your videos are easy to understand and they are really useful. 👍
@vb_gh
@vb_gh 6 днів тому
Amazing video! Shouts from Ghana 🇬🇭.
@Mikkysam52
@Mikkysam52 2 місяці тому
yes please, a video on writing tests
@tomkoefod
@tomkoefod 7 днів тому
awesome background btw on your term.
@luismiguelbaezaponte9208
@luismiguelbaezaponte9208 Місяць тому
I really like your neovim configuration, could you make a video about it?
@vb_gh
@vb_gh 6 днів тому
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 5 днів тому
Great idea, on it!
@eldr-io
@eldr-io 5 днів тому
Just posted a video about this :) Thanks for the suggestion
@mr.daniish
@mr.daniish 16 днів тому
Love from Pakistan ❤
@veag687
@veag687 2 місяці тому
Fit!
@mlitzy
@mlitzy Місяць тому
what is the setup causing the cursor to steak across the screen? I think it makes it easier to follow.
@jrtomsic
@jrtomsic Місяць тому
I think the cursor streak is a feature of neovide, a neovim GUI
@eldr-io
@eldr-io Місяць тому
Thanks that was my thinking too. I'm using Neovide (a NVim GUI) and NVChad which is a Neovim distribution
@hansqid
@hansqid Місяць тому
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 Місяць тому
We know she is an Ai right
@bjo004
@bjo004 26 днів тому
Was waiting for you to cover go.mod and go.sum. Great video btw.
@yasminbennett6747
@yasminbennett6747 2 місяці тому
another great video ⸜(。˃ ᵕ ˂ )⸝♡ #womeninstem
@zakariachahboun
@zakariachahboun 16 днів тому
it's not women >
@RonNorthcutt
@RonNorthcutt 2 місяці тому
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 2 місяці тому
Hey, yeah since I only just created this channel, youtube won't let me post full links yet :(
@user24233
@user24233 Місяць тому
drop your dot files, your desktop is very pretty
@ellywithpluto125
@ellywithpluto125 Місяць тому
after we had a gaming girl, it's time for coding girl.
Start using this Go design pattern.. Consumer Interfaces!
6:05
eldr-io
Переглядів 4,4 тис.
How I Structure New Projects In Golang
21:32
Anthony GG
Переглядів 46 тис.
BMW просто издевается над нами! Силы на исходе…
1:34:41
ИЛЬДАР АВТО-ПОДБОР
Переглядів 3,6 млн
Пескоструйный АППАРАТ! #shorts
01:00
Гараж 54
Переглядів 3,2 млн
How To Structure A Programming Project…
19:00
Tech With Tim
Переглядів 78 тис.
From React To HTMX
40:01
ThePrimeTime
Переглядів 286 тис.
Keep your project structure simple!
15:08
CodeOpinion
Переглядів 13 тис.
The standard library now has all you need for advanced routing in Go.
13:52
Why I Switched From NEOVIM To VSCODE
13:45
Anthony GG
Переглядів 17 тис.
All You Need to Know to Structure your Golang Projects
12:23
Tiago
Переглядів 4,2 тис.
Thoughts About Unit Testing | Prime Reacts
11:21
ThePrimeTime
Переглядів 200 тис.
Introducing The GoTTH Stack - Go, Tailwind CSS, Templ & HTMX
28:29
TomDoesTech
Переглядів 17 тис.
THIS is the BEST Way to Write HTTP Services in Golang
13:53
Melkey
Переглядів 15 тис.
M4 iPad Pro Impressions: Well This is Awkward
12:51
Marques Brownlee
Переглядів 3,9 млн
Нужно ли чистить ПК от пыли?
0:59
CompShop Shorts
Переглядів 64 тис.
Игровой ноутбук за 100тр в МВИДЕО
0:58
KOLBIN REVIEW
Переглядів 293 тис.