This repository serves as a starting point for new Golang projects. It includes a Makefile with common development targets, a pre-configured development environment, GitHub Actions workflows, and a clean, modular project structure.
Just replace all instances of golang-repository-template
and Golang Repository Template
with your project’s name.
...
...
Tip: to see all available make targets with descriptions, simply run make
.
make test
The binary for your OS will be placed in ./dist
,
e.g. ./dist/golang-repository-template_darwin_arm64_v8.0/golang-repository-template
:
make build-snapshot
make lint
make lint-chart
make pre-commit
make chart-docs
make schema-chart