The template for new go repositories
Makefile
to run some basic validations:golangci-lint
nancy
- unit and benchmarks tests
- installing all needed tools on macOS using
brew
- cleaning up the
go.sum
file by removing it and re-creating bygo mod tidy
- MIT License by default
- GitHub Action workflows:
- testing all pull requests by running same tools and checking code coverage using
codecov
action - making a new release, triggered by closed milestone
- creates a new tag using
bumptag
tool - creates new
Next
milestone - runs
goreleaser
to build a new release
- creates a new tag using
- testing all pull requests by running same tools and checking code coverage using
- Create a repository using this repo as template
- Replace in all files
go-repo-template
to the project's name - In case of:
- library
- Remove
.github/Dockerfile
,.github/goreleaser-cli.yml
files - Remove
release-cli
section in the.github/workflows/release.yaml
file
- Remove
- command line tool (cli)
- Remove
.github/goreleaser-lib.yml
file - Remove
release-lib
section in the.github/workflows/release.yaml
file
- Remove
- library
- Modify
README.md
by removing this text - Feel free to modify any other files
MIT licensed. See the bundled LICENSE file for more details.