Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

Commit 06a2cf1

Browse files
authored
update gopkg.in/yaml v2 to v3 (#236)
1 parent a626d93 commit 06a2cf1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ require (
1111
github.com/stretchr/testify v1.8.4
1212
github.com/urfave/cli/v2 v2.27.1
1313
golang.org/x/tools v0.20.0
14+
gopkg.in/yaml.v3 v3.0.1
1415
gorm.io/driver/mysql v1.5.6
1516
gorm.io/driver/postgres v1.5.7
1617
gorm.io/driver/sqlite v1.5.5
@@ -73,7 +74,6 @@ require (
7374
google.golang.org/protobuf v1.28.1 // indirect
7475
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
7576
gopkg.in/yaml.v2 v2.4.0 // indirect
76-
gopkg.in/yaml.v3 v3.0.1 // indirect
7777
gorm.io/datatypes v1.1.1-0.20230130040222-c43177d3cf8c // indirect
7878
gorm.io/hints v1.1.0 // indirect
7979
gorm.io/plugin/dbresolver v1.5.0 // indirect

tpl/hertz/server/standard/layout.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ layouts:
132132
"github.com/cloudwego/hertz/pkg/common/hlog"
133133
"github.com/kr/pretty"
134134
"gopkg.in/validator.v2"
135-
"gopkg.in/yaml.v2"
135+
"gopkg.in/yaml.v3"
136136
)
137137
138138
var (

tpl/hertz/server/standard_v2/layout.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ layouts:
132132
"github.com/cloudwego/hertz/pkg/common/hlog"
133133
"github.com/kr/pretty"
134134
"gopkg.in/validator.v2"
135-
"gopkg.in/yaml.v2"
135+
"gopkg.in/yaml.v3"
136136
)
137137
138138
var (

tpl/kitex/server/standard/conf_tpl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body: |-
1313
"github.com/cloudwego/kitex/pkg/klog"
1414
"github.com/kr/pretty"
1515
"gopkg.in/validator.v2"
16-
"gopkg.in/yaml.v2"
16+
"gopkg.in/yaml.v3"
1717
)
1818
1919
var (

0 commit comments

Comments
 (0)