clear:formatting code
This commit is contained in:
1 parent
426cec1b62
commit
8c554d7ee7
52 files changed
+486
-502
No files matched your search
+2
-2
@@ -3,13 +3,13 @@ package config
|
||||
import "github.com/spf13/viper"
|
||||
|
||||
type Log struct {
|
||||
Dir string
|
||||
Dir string
|
||||
Operdb bool
|
||||
}
|
||||
|
||||
func InitLog(cfg *viper.Viper) *Log {
|
||||
return &Log{
|
||||
Dir: cfg.GetString("dir"),
|
||||
Dir: cfg.GetString("dir"),
|
||||
Operdb: cfg.GetBool("operdb"),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user