This is an example of go project structure/layout.
project-template
|-- api
|-- build
|-- cmd
|-- configs
|-- docs
|-- Makefile
|-- pkg
|-- README.md
|-- test
`-- web
|-- assets
`-- template
It can be used to build system app or web app.
Just clone and make it suits you.
git clone https://github.com/qins/project-template.git