upgrade gopkg.in/yaml.v2 to gopkg.in/yaml.v3

Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com>
This commit is contained in:
Inteon 2021-09-04 00:14:57 +02:00
parent 4fd30b69ee
commit 74e70610d5
No known key found for this signature in database
GPG key ID: BD5DCF7303C7C1A7
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/pflag" "github.com/spf13/pflag"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v3"
) )
type cmdOption struct { type cmdOption struct {

2
go.mod
View file

@ -7,5 +7,5 @@ require (
github.com/inconshreveable/mousetrap v1.0.0 github.com/inconshreveable/mousetrap v1.0.0
github.com/spf13/pflag v1.0.5 github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.8.1 github.com/spf13/viper v1.8.1
gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
) )