A repository to use as a template for Go repositories.
| Tool | Description |
|---|---|
| Go | This has been tested on go1.22.5 darwin/arm64 |
go mod init github.com/donovan-said/template-go-github-repositorygo mod tidy
N.b. The tools.go file is used to define all dev requirements for this package. These aren't included in the build binary. See Go Docs - Build Constraints for more information.
The .vscode settings have be configured for a base go setup.
The Makefile is used for all linting, testing and build tasks. For the purpose of this template, it only manages dependencies and linting.
N.b. The Makefile is also run via the .pre-commit-config.yaml. See the CONTRIBUTING.md docs for more information on setting this up.
Please see GitHub - golang-standards - project-layout