From 74e70610d5373f42dbf500c20f295af60d2951e8 Mon Sep 17 00:00:00 2001 From: Inteon <42113979+inteon@users.noreply.github.com> Date: Sat, 4 Sep 2021 00:14:57 +0200 Subject: [PATCH] upgrade gopkg.in/yaml.v2 to gopkg.in/yaml.v3 Signed-off-by: Inteon <42113979+inteon@users.noreply.github.com> --- doc/yaml_docs.go | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/yaml_docs.go b/doc/yaml_docs.go index 96e6ad72..b5bf748b 100644 --- a/doc/yaml_docs.go +++ b/doc/yaml_docs.go @@ -23,7 +23,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) type cmdOption struct { diff --git a/go.mod b/go.mod index 97eab3c9..7b6fcbd8 100644 --- a/go.mod +++ b/go.mod @@ -7,5 +7,5 @@ require ( github.com/inconshreveable/mousetrap v1.0.0 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.8.1 - gopkg.in/yaml.v2 v2.4.0 + gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b )