These articles will explain how to organize your Go packages: https://golang.org/doc/code.html https://rakyll.org/style-packages/ https://medium.com/@benbjohnson/standard-package-layout-7cdbc8391fc1#.ds38va3pp https://peter.bourgon.org/go-best-practices-2016/#repository-structure