Golang Package Structure Explained in 7 Minutes

preview_player
Показать описание
Golang Package Structure Explained
In today's Golang video, we will talk about the Package Structure in Go. We will go through the types of packages, package naming, package scope, how to structure packages, and everything you need to know about Package Structure in Go programming language. Enjoy!

--
Golang Dojo is all about becoming Golang Ninjas together. You can expect all kinds of Golang tutorials, news, tips & tricks, and my daily struggles as a Golang developer. Make sure to subscribe if you look forward to such content!

--
#golang #goprogramming #golangdojo
Рекомендации по теме
Комментарии
Автор

I would love to see domain driven design architecture. I really have been a fan of CQRS with event sourcing and would love to see the implementation in go

ericzorn
Автор

Just to mention... 1. Packages/directories should not use plural naming. 2. Executable(s) should mainly be placed in the cmd/ directory.

frankfix
Автор

Bro, you are building a great community, keep goin on. There's so many videos to do

vitorrocha
Автор

5:00 You are structuring your packages by type. Package-by-type only works on small-scale projects. Package-by-feature is superior in the majority of cases as it allows to play with the components' scope. We can use the access modifiers to enforce Law of Demeter and the dependency inversion for integrations or/and extensions. Other reasons are: easier code navigation, a higher level of abstraction, minimize scopes (bounding contexts), vertical modularization.

krige
Автор

I would like to see more of the complex project structures in Go.
BTW: the new video format is less personal.. I liked the old format better..

flexairz
Автор

I'd love some videos on common design patterns!

gideonfelt
Автор

I’d like to see how you’d recommend organizing a larger MVC design with database. This video was great!

nickolas
Автор

I would... REALLY REALLY REALLY like to see a video about more complex project structures. Please! Please!

alunoazul
Автор

If you could go through each one with examples it would be awesome 👏

carlosdelgado
Автор

Oh no! Don't remove your Ninja intro, I LOVED It 🙁

farzadmf
Автор

Hey thank you for the content.
I think it would be interesting to show go working with slice architecture given that both a re super minimalistic.
Thank you again. Keep going :)

LHMATIAS
Автор

I would love to see more content on project structure, this video helped me alot, I was doing a ton of shit wrong lol
thx

churraskindequeijo
Автор

Thanks. Go next video, on design and hard architecture application :-)

alekseytrump
Автор

Excellent content ⭐, thanks for sharing 👍, it would be nice to see more content on architecture of complex projects in golang.

slimbron
Автор

More designs please 🙏.

Keep up the great work. Great content.

dancollings
Автор

Btw, a vim tip for when you were talking about block scopes: you can select all the inner elements of the current scope with vi{

regexPattern
Автор

Thank you for this video. I would like to see a MVC video please.

aeb
Автор

have you made anything about MVC package structure brother?

angelkarki
Автор

Great video as always. 6:21 yes of course we want! 🤩

hoxorious
Автор

great video mate, really clear and to the point

padawanpath