LabKit is minimalist library to provide functionality for Go services at GitLab.
import (
"gitlab.com/gitlab-org/labkit/correlation"
)
import (
logkit "gitlab.com/gitlab-org/labkit/log"
)
import (
"gitlab.com/gitlab-org/labkit/mask"
)
import (
"gitlab.com/gitlab-org/labkit/metrics"
)
import (
"gitlab.com/gitlab-org/labkit/monitoring"
)
This package is used for checking whether a binary has been properly compiled with FIPS support.
import (
"gitlab.com/gitlab-org/labkit/fips"
)
import (
"gitlab.com/gitlab-org/labkit/fields"
)
// fields.GitLabUserID - returns the constant field name you should use to represent this data.
Anyone can contribute!
Please be aware of the following architectural guidelines.
doc.go.gitlab.com/gitlab-org/labkit/correlation/grpc),
especially if the dependency is large or has a deep dependency tree of it's own.Taken from A Philosophy of Software Design, by John Ousterhout. This book is recommended reading.
Please assign your MR to a reviewer for a first review, followed by a maintainer review.
Currently, the reviewers are:
The maintainers are:
LabKit uses semantic releases. Please use the Conventional Commits commit format.
A new release should only be created when there is a new user-facing feature or a bug fix. CI, docs, and refactoring shouldn't result in a new release unless it's a big change.