feat: 提升yaml字段可读性

This commit is contained in:
Mmx233
2022-01-21 22:47:04 +08:00
parent d7bf9f117d
commit 1beadc9ed2

View File

@@ -15,8 +15,8 @@ type Guardian struct {
type Basic struct {
Timeout uint `json:"timeout"`
Interfaces string `json:"interfaces"`
DemoMode bool `json:"demo_mode"`
SkipNetCheck bool `json:"skip_net_check"`
DemoMode bool `json:"demo_mode" yaml:"demo_mode"`
SkipNetCheck bool `json:"skip_net_check" yaml:"skip_net_check"`
}
type Settings struct {