diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-12-03 00:09:26 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-12-03 00:09:26 +0530 |
commit | 9df37d57e454c49b2c55418ad53b6d49a2be2589 (patch) | |
tree | 0ef8e8c56454c9e9e72ce1a7ab8dfbefdde9a0c2 /main.go | |
parent | dc2ed72c3db40684f76acf9b5e71597d6da8fbbd (diff) |
replaced production_mode with debug_mode in config filev0.1.0
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,10 +38,10 @@ import ( "log" ) -const OPENBILLS_VERSION = "v0.0.14" +const OPENBILLS_VERSION = "v0.1.0" func init() { - if viper.GetBool("production_mode") { + if !viper.GetBool("debug_mode") { gin.SetMode(gin.ReleaseMode) } } |