Skip to content
/ go-starter Public template

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

License

Notifications You must be signed in to change notification settings

tslamic/go-starter

Repository files navigation

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.