From 25524d047afe436a14ccccf4b434072e4ed288ce Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Sat, 23 Sep 2023 11:25:53 +0530 Subject: [PATCH] Bump `consul` provider to v2. --- examples/read-consul/main.go | 2 +- providers/consul/go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/read-consul/main.go b/examples/read-consul/main.go index 5917ec04..8bacba05 100644 --- a/examples/read-consul/main.go +++ b/examples/read-consul/main.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/consul/api" "github.com/knadh/koanf/parsers/json" - "github.com/knadh/koanf/providers/consul" + "github.com/knadh/koanf/providers/consul/v2" "github.com/knadh/koanf/providers/file" "github.com/knadh/koanf/v2" ) diff --git a/providers/consul/go.mod b/providers/consul/go.mod index 50356390..311f2c4d 100644 --- a/providers/consul/go.mod +++ b/providers/consul/go.mod @@ -1,4 +1,4 @@ -module github.com/knadh/koanf/providers/consul +module github.com/knadh/koanf/providers/consul/v2 go 1.18