/go-starter

A skeleton Go project, useful if you're starting a new project from scratch.

Primary LanguageMakefileMIT LicenseMIT

Go Starter

This is a skeleton Go project, useful if you're starting a new project from scratch. It contains a:

  • multi-stage Dockerfile
  • golangci-lint config
  • Makefile with rudimentary directives
  • GitHub Action for linting & testing
  • versioning based on Git tags
  • license

Clone this repo or follow the instructions here to get started, and don't forget to update the module name and the version, e.g.:

$ go mod edit -module=example.com/awesome -go=1.17

If you're changing the Go version, you should also update the version in .golangci.yml.