package
0.0.0-20191229105456-04e44c1bb858
Repository: https://github.com/yrpc/util.git
Documentation: pkg.go.dev
# Functions
DevInstance returns the instance for develop environment.
Instance for chosen logger.
New is similar to Config.Build except that info and error logs are separated only json/console encoder is supported (zap doesn't provide a way to refer to other encoders).
ProdInstance returns the instance for production environment.
# Variables
Env for chosen environment.
# Type aliases
EnvType for environment type.