This is an template for golang
project, it has the following features:
- An
Makefile
style for build、test,support docker - Support addlicense headers
- Buildin grpc、grpc-gateway with example
- 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
- First, create an repository with this template, and clone it
- Second, run
./hack/rename {xxx}
to new project name - Third, follow codecov to configration your
CODECOV_TOKEN
Now, enjoy coding!