yaml.v2 -> yaml.v3

This commit is contained in:
白茶清欢 2022-06-26 18:23:54 +08:00
parent d5e1721d1f
commit b5f23d13b8
3 changed files with 5 additions and 4 deletions

View File

@ -15,7 +15,7 @@ import (
"os"
"strings"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
)
// File ...

2
go.mod
View File

@ -2,4 +2,4 @@ module git.zhangdeman.cn/zhangdeman/command
go 1.17
require gopkg.in/yaml.v2 v2.4.0 // indirect
require gopkg.in/yaml.v3 v3.0.1

5
go.sum
View File

@ -1,3 +1,4 @@
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=