foehammer@programming.devtoGolang@programming.dev•Is there a repository of best practices when it comes to Go? (project/file structure, decoupling)English
1·
1 year agoSome aspects of that repo are actually language features, such as the pkg and internal directories.
The language feature is the
internal/
directory, and it’s function of restricting dependencies from external programs.