Skip to content

Commit 17887d6

Browse files
all: replace gopkg.in/yaml.v3 with github.com/goccy/go-yaml
The former project has been archived and does not have any commits for three years.
1 parent f15e405 commit 17887d6

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

cmd/export.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ import (
99
"os"
1010
"strings"
1111

12+
yaml "github.com/goccy/go-yaml"
1213
"github.com/magiconair/properties"
13-
1414
analytics "github.com/segmentio/analytics-go/v3"
1515
"github.com/segmentio/chamber/v3/utils"
1616
"github.com/spf13/cobra"
17-
"gopkg.in/yaml.v3"
1817
)
1918

2019
// exportCmd represents the export command

cmd/import.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import (
55
"io"
66
"os"
77

8+
yaml "github.com/goccy/go-yaml"
89
analytics "github.com/segmentio/analytics-go/v3"
910
"github.com/segmentio/chamber/v3/store"
1011
"github.com/segmentio/chamber/v3/utils"
1112
"github.com/spf13/cobra"
12-
"gopkg.in/yaml.v3"
1313
)
1414

1515
var (

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ require (
1212
github.com/aws/aws-sdk-go-v2/service/ssm v1.56.4
1313
github.com/aws/aws-sdk-go-v2/service/sts v1.33.6
1414
github.com/aws/smithy-go v1.22.1
15+
github.com/goccy/go-yaml v1.17.1
1516
github.com/magiconair/properties v1.8.9
1617
github.com/segmentio/analytics-go/v3 v3.3.0
1718
github.com/spf13/cobra v1.8.1
1819
github.com/stretchr/testify v1.10.0
1920
golang.org/x/sys v0.29.0
20-
gopkg.in/yaml.v3 v3.0.1
2121
)
2222

2323
require (
@@ -42,4 +42,5 @@ require (
4242
github.com/pmezard/go-difflib v1.0.0 // indirect
4343
github.com/segmentio/backo-go v1.0.1 // indirect
4444
github.com/spf13/pflag v1.0.5 // indirect
45+
gopkg.in/yaml.v3 v3.0.1 // indirect
4546
)

go.sum

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)