AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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.