From 65ea58229e002aeb75c2bfa4d2f51eb172d2889b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sun, 26 Jun 2022 18:24:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86yaml.v2=E4=B8=8Eyaml.v3?= =?UTF-8?q?=E7=9A=84=E4=B8=8D=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- file.go | 1 - 1 file changed, 1 deletion(-) diff --git a/file.go b/file.go index 3e4380b..219d4e2 100644 --- a/file.go +++ b/file.go @@ -212,7 +212,6 @@ func (f *fileOperate) ReadForYaml(receiver interface{}) error { return err } decoder := yaml.NewDecoder(bytes.NewReader(content)) - decoder.SetStrict(true) return decoder.Decode(receiver) }