This is an template for golang
project, it has the following features:
- An
Makefile
style for build、test,support docker - Support custom license headers
- Buildin grpc、grpc-gateway with example, proto-format、lint、doc enabled
- Github template and action for PR、ISSUE and workflow
- Go 1.21,with golangci-lint、mockgen and so on, and unittest is enabled
- Codecov enabled
- create an repository with this template, and clone it
- run
./hack/rename {xxx}
to new project name - follow codecov to configration your
CODECOV_TOKEN
- modify
.github/license.yml
with your own LICENSE template - modify
.github/CODEOWNERS
with your own OWNERS
Now, enjoy coding!