“Here are my own best practices that I’ve gathered from my personal experiences with dealing lots of Go code for the past years. I believe they all scale well. With scaling I mean:
- Your applications requirements are changing in an agile environment. You don’t want to refactor every piece of it after 3-4 months just because you need to. New features should be added easily.
- Your application is developed by many people, it should readable and easy to maintain.
- Your application is used by a lot of people, there will be bugs which should be find easily and fixed quickly
With time I’ve learned these things are important in long-term. Some of them are minor, but they affect a lot of things. These are all advices, try to adapt them and let me know if it works out for you…”