golang-commons

module
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: Apache-2.0

README

Platform Mesh - golang-commons

Build Status REUSE status

Description

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

Getting started

Add the dependency to your go module based project like so:

go get github.com/platform-mesh/golang-commons

Releasing

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).

Requirements

golang-commons requires a installation of go. Checkout the go.mod for the required go version.

Contributing

Please refer to the CONTRIBUTING.md file in this repository for instructions on how to contribute to Platform Mesh.

Code of Conduct

Please refer to our Code of Conduct for information on the expected conduct for contributing to Platform Mesh.

Directories

Path Synopsis
Package context implements a safe way to create a context which will have a timeout after closing the context
Package context implements a safe way to create a context which will have a timeout after closing the context
controller
fga
util
Package util provides utility functions for converting API group and resource names into normalized type names suitable for use in authorization systems.
Package util provides utility functions for converting API group and resource names into normalized type names suitable for use in authorization systems.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL