set GinMode Release if not Debug #62

Open
zottelchin wants to merge 1 commits from fix/ginmode into master
  1. 1
      cmd/main.go

1
cmd/main.go

@ -27,6 +27,7 @@ func main() {
WithAction(func(args []string, options map[string]string) int {
if options["debug"] == "" {
log.Logger = log.Logger.Level(zerolog.InfoLevel)
gin.SetMode(gin.ReleaseMode)
}
// Parse the config

Loading…
Cancel
Save