Categorygithub.com/thevpnbeast/golang-commons
modulepackage
1.0.4
Repository: https://github.com/thevpnbeast/golang-commons.git
Documentation: pkg.go.dev

# README

Golang Commons

CI Go Report Card Quality Gate Status Maintainability Rating Reliability Rating Security Rating Coverage Go version License

This is a common library for Vpnbeast backend services which are written with Golang.

Development

This project requires below tools while developing:

After you installed pre-commit, simply run below command to prepare your development environment:

$ pre-commit install -c build/ci/.pre-commit-config.yaml

License

Apache License 2.0

# Functions

GetLogger returns the shared *VpnbeastLogger.
SetLogLevel function sets the log level of the *zap.Logger using zap.AtomicLevel dynamically.