
templates.golang.common.go.template Maven / Gradle / Ivy
The newest version!
package main
import "go.uber.org/zap"
var logger = getLogger()
func getLogger() *zap.Logger {
logger, err := zap.NewProduction()
if err != nil {
panic(err)
}
return logger
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy