From 1beadc9ed20b8461a87a81d7470f3596c95edd43 Mon Sep 17 00:00:00 2001 From: Mmx233 <1624045573@qq.com> Date: Fri, 21 Jan 2022 22:47:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8F=90=E5=8D=87yaml=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=8F=AF=E8=AF=BB=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/config.go b/models/config.go index dcc5c82..05354f5 100644 --- a/models/config.go +++ b/models/config.go @@ -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 {