In-reply-to » 💡 TIL: Today I learned that there is nothing special about pkg/ inside of Go projects. It is just like any other sub-package structure you might otherwise define in your project. It just adds an extra part to your imports. I think it's actually confusing at best and just unnecessary typing and an unnecessary sub-structure. Just keep your packages in the top-level and be done with it 👌 I sometimes wonder if this is a breadth of experience problem. I know I did this a lot when I was first starting out. As I’ve learned more programming languages, I have noticed that I’ve gotten better at following each language’s idioms.

⤋ Read More