2min chapter

Changelog Master Feed cover image

The files & folders of Go projects (Go Time #278)

Changelog Master Feed

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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode