diff --git a/config/config.go b/config/config.go index f9c0e09..32878d7 100644 --- a/config/config.go +++ b/config/config.go @@ -7,7 +7,7 @@ import ( "os" "path/filepath" - "gopkg.in/yaml.v2" + "gopkg.in/yaml.v3" ) // The properties that are depended upon in the source code are declared explicitly in the config struct. diff --git a/go.mod b/go.mod index 3c4ad71..e6894d1 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,6 @@ require ( github.com/yuin/goldmark-highlighting/v2 v2.0.0-20230729083705-37449abec8cc golang.org/x/net v0.14.0 golang.org/x/text v0.12.0 - gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b ) @@ -23,4 +22,5 @@ require ( github.com/osteele/tuesday v1.0.3 // indirect github.com/tdewolff/parse/v2 v2.7.11 // indirect golang.org/x/sys v0.16.0 // indirect + gopkg.in/yaml.v2 v2.4.0 // indirect )