Template for golang projects @okp4.
This repository holds the template for building Golang projects with a consistent set of standards accros all OKP4 projects. We are convinced that the quality of the code depends on clear and consistent coding conventions, with an automated enforcement (CI).
This way, the template promotes:
- the use of conventional commits, semantic versioning and semantic releasing which automates the whole package release workflow including: determining the next version number, generating the release notes, and publishing the artifacts (project tarball, docker images, etc.)
- unit testing
- linting via golangci-lint
- a uniformed way of building the project for several platforms via a Makefile using a docker image
🚨 do not fork this repository as it is a template repository
- Click on Use this template
- Give a name to your project
- Wait until the first run of CI finishes
- Clone your new project and happy coding!
make build