From 9b0593f211e4327b836a161fc028984ba3a7814d Mon Sep 17 00:00:00 2001 From: facundoolano Date: Sat, 2 Mar 2024 20:48:45 -0300 Subject: [PATCH] don't mix yaml versions --- config/config.go | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 )