From f13d85e17c009da7f8089cb9173b69e372a37157 Mon Sep 17 00:00:00 2001 From: "Stefan M." Date: Wed, 6 Nov 2024 09:48:20 +0100 Subject: [PATCH] Update mapstructure to a stable version (#331) --- go.mod | 6 ++---- go.sum | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index cdd023fb..d5c0b59e 100644 --- a/go.mod +++ b/go.mod @@ -3,13 +3,11 @@ module github.com/knadh/koanf/v2 go 1.18 require ( - github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 + github.com/go-viper/mapstructure/v2 v2.2.1 github.com/knadh/koanf/maps v0.1.1 github.com/mitchellh/copystructure v1.2.0 ) require github.com/mitchellh/reflectwalk v1.0.2 // indirect -retract ( - v2.0.2 // Tagged as minor version, but contains breaking changes. -) \ No newline at end of file +retract v2.0.2 // Tagged as minor version, but contains breaking changes. diff --git a/go.sum b/go.sum index a35d2f97..f39e43b2 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 h1:TQcrn6Wq+sKGkpyPvppOz99zsMBaUOKXq6HSv655U1c= -github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= +github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss= +github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= github.com/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs= github.com/knadh/koanf/maps v0.1.1/go.mod h1:npD/QZY3V6ghQDdcQzl1W4ICNVTkohC8E73eI2xW4yI= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=