Skip to content

Commit fc362aa

Browse files
committed
upgraded yaml 2 -> 3
1 parent 029f26f commit fc362aa

4 files changed

Lines changed: 3 additions & 6 deletions

File tree

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/sha1n/termite v0.0.25
1515
github.com/spf13/cobra v1.10.2
1616
github.com/stretchr/testify v1.11.1
17-
gopkg.in/yaml.v2 v2.4.0
17+
gopkg.in/yaml.v3 v3.0.1
1818
)
1919

2020
require (
@@ -36,5 +36,4 @@ require (
3636
golang.org/x/mod v0.30.0 // indirect
3737
golang.org/x/sys v0.39.0 // indirect
3838
golang.org/x/text v0.32.0 // indirect
39-
gopkg.in/yaml.v3 v3.0.1 // indirect
4039
)

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T
7777
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
7878
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
7979
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
80-
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
81-
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
8280
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
8381
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
8482
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

pkg/specs/spec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"github.com/go-playground/validator/v10"
1818
en_translations "github.com/go-playground/validator/v10/translations/en"
1919

20-
"gopkg.in/yaml.v2"
20+
"gopkg.in/yaml.v3"
2121
)
2222

2323
// LoadSpec loads benchmark specs from the specified file.

pkg/specs/spec_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/sha1n/bert/api"
1111
"github.com/sha1n/gommons/pkg/test"
1212
"github.com/stretchr/testify/assert"
13-
"gopkg.in/yaml.v2"
13+
"gopkg.in/yaml.v3"
1414
)
1515

1616
func TestLoadJson(t *testing.T) {

0 commit comments

Comments
 (0)