clear:formatting code

This commit is contained in:
zhangwenjian committed 2020-07-23 12:03:17 +08:00
1 parent 426cec1b62
commit 8c554d7ee7
52 files changed
+486 -502

No files matched your search

+2 -2
View File
@@ -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"),
}
}