config/config.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
config/config.go
@@ -72,7 +72,7 @@ DevName string `mapstructure:"dev"` Baud int `mapstructure:"baud"` EPC string `mapstructure:"epc"` Position uint8 `mapstructure:"postion"` Position uint8 `mapstructure:"position"` } type rateLimit struct { @@ -126,6 +126,7 @@ v.UnmarshalKey("nvcs", NVCSConf) v.UnmarshalKey("rfid", RFIDConf) v.UnmarshalKey("image", ImageConf) v.UnmarshalKey("systime", SysTimeConf) if LogConf.Level == "" { LogConf.Level = "info"