A Go project template that gives us our standard Go project setup. Powered by Cookiecutter.
- Uses
go mod
for dependancy management - Uses viper for configuraiton
- Uses cobra for CLI commands in
cmd
package - Uses zerolog for structured logging
- Dockerfile for building go binary and dockerfile with final binary
- Basic Gitlab or Circle CI config
- Get cookiecutter via
pip
orbrew
- Use
cookiecutter
:cookiecutter https://github.com/thisissoon/GoCookieCutter.git
- Fill in the information
cookiecutter
asks you - The project is now setup in
name
directory,cd
into it - Read the
README.md