šŸ„³ Template Go

This is the standard template for Go projects of @katallaxie.

Get Started

make setup MODULE_NAME=github.com/username/repo

Features

You can sh scripts/postCreateCommand.sh if you are not running in a remote container or on Codespaces.

Development

This template supports Makefile to run tooling.

# show `help`
make help

Setup the project.

make setup MODULE_NAME=github.com/username/repo

Other available targets are

  • build
  • fmt
  • lint
  • vet
  • generate
  • clean

The convention is to use make to run the build.

Happy coding!