Go Time: Golang, Software Engineering cover image

The files & folders of Go projects

Go Time: Golang, Software Engineering

CHAPTER

The Importance of Sub Packages in Go

There's no special relationship between a parent and the child package is there? No, just relationship on the file system. And aside from internal, interestingly, subfolders aren't sub packages in any way. This is another thing that I've seen in other languages where you have a sub folder. It's mostly just communicating. Like you might be grouping things like in the standard library,. You see stuff in like the encoding package or the archive package is not a strict relationship. Just it helps people to understand the groups.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner