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/openmfp/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 openMFP.
Please refer to the CODE_OF_CONDUCT.md file in this repository informations on the expected Code of Conduct for contributing to openMFP.
Copyright 2024 SAP SE or an SAP affiliate company and openMFP contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.