# README
Golang Commons
This is a common library for Vpnbeast backend services which are written with Golang.
Development
This project requires below tools while developing:
- Golang 1.19
- pre-commit
- golangci-lint - required by pre-commit
- gocyclo - required by pre-commit
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.