Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.26 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.26 KB

golang-project-template

What is this?

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

How to use?

  • 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!