Golang project directory structure
This article by Ben Johnson has guided me on this when I was starting with Go. It’s generally good to start with something like this (assuming you are inside your project directory like $GOPATH/src/myproject: ├──cmd/ — this is where you compose several packages in to main package | ├──foo — an example would be `foo` … Read more