golang-commons contains golang library packages to be reused across microservices and operators/controllers. The scope includes, but is not limited to:
- JWT handling
- Context handling
- Error handling
- Logging
- Controllers
Add the dependency to your go module based project like so:
go get github.com/platform-mesh/golang-commons
The release is performed automatically through a GitHub Actions Workflow.
All the released versions will be available through access to GitHub (as any other Golang library).
golang-commons requires a installation of go. Checkout the go.mod for the required go version.
Please refer to the CONTRIBUTING.md file in this repository for instructions on how to contribute to Platform Mesh.
Please refer to our Code of Conduct for information on the expected conduct for contributing to Platform Mesh.
