From 80462220e29fd7409e71dd097ed91075289838ea Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Tue, 26 Oct 2021 23:00:25 +0300 Subject: [PATCH] update import paths Signed-off-by: Vasiliy Tolstov --- consul.go | 6 +++--- go.mod | 4 ++-- go.sum | 8 ++++---- logger.go | 2 +- options.go | 2 +- watcher.go | 6 +++--- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/consul.go b/consul.go index 475ae8a..0706aa6 100644 --- a/consul.go +++ b/consul.go @@ -1,4 +1,4 @@ -package consul +package consul // import "go.unistack.org/micro-config-consul/v3" import ( "context" @@ -6,8 +6,8 @@ import ( "github.com/hashicorp/consul/api" "github.com/imdario/mergo" - "github.com/unistack-org/micro/v3/config" - rutil "github.com/unistack-org/micro/v3/util/reflect" + "go.unistack.org/micro/v3/config" + rutil "go.unistack.org/micro/v3/util/reflect" ) var DefaultStructTag = "consul" diff --git a/go.mod b/go.mod index 39fd323..18a2e42 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/unistack-org/micro-config-consul/v3 +module go.unistack.org/micro-config-consul/v3 go 1.16 @@ -16,5 +16,5 @@ require ( github.com/mitchellh/mapstructure v1.4.2 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/stretchr/testify v1.7.0 // indirect - github.com/unistack-org/micro/v3 v3.7.6 + go.unistack.org/micro/v3 v3.8.5 ) diff --git a/go.sum b/go.sum index 208bec1..a5918e2 100644 --- a/go.sum +++ b/go.sum @@ -162,10 +162,10 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= -github.com/unistack-org/micro-proto v0.0.9 h1:KrWLS4FUX7UAWNAilQf70uad6ZPf/0EudeddCXllRVc= -github.com/unistack-org/micro-proto v0.0.9/go.mod h1:Cckwmzd89gvS7ThxzZp9kQR/EOdksFQcsTAtDDyKwrg= -github.com/unistack-org/micro/v3 v3.7.6 h1:cobNkaicZR+8nbDWRUmX3/CSLh6ZNSytK2zWth4s4IM= -github.com/unistack-org/micro/v3 v3.7.6/go.mod h1:Ke/8WJlNZi4ZYwL9HcsANAbQ66/HocTBEZM+od99/mM= +go.unistack.org/micro-proto/v3 v3.1.0 h1:q39FwjFiRZn+Ux/tt+d3bJTmDtsQQWa+3SLYVo1vLfA= +go.unistack.org/micro-proto/v3 v3.1.0/go.mod h1:DpRhYCBXlmSJ/AAXTmntvlh7kQkYU6eFvlmYAx4BQS8= +go.unistack.org/micro/v3 v3.8.5 h1:DIYWRsQF+NPhKZP45sCtNsUhaRw6u2+Ps7U+pKU7i3s= +go.unistack.org/micro/v3 v3.8.5/go.mod h1:KMMmOmbgo/D52/rCAbqeKbBsgEEbSKM69he54J3ZIuA= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/logger.go b/logger.go index da3abfa..bfbb263 100644 --- a/logger.go +++ b/logger.go @@ -9,7 +9,7 @@ import ( "os" hclog "github.com/hashicorp/go-hclog" - "github.com/unistack-org/micro/v3/logger" + "go.unistack.org/micro/v3/logger" ) // to check implementation diff --git a/options.go b/options.go index 51977d0..f78cda7 100644 --- a/options.go +++ b/options.go @@ -4,7 +4,7 @@ import ( "time" "github.com/hashicorp/consul/api" - "github.com/unistack-org/micro/v3/config" + "go.unistack.org/micro/v3/config" ) type configKey struct{} diff --git a/watcher.go b/watcher.go index 2e8df77..c080ab6 100644 --- a/watcher.go +++ b/watcher.go @@ -5,9 +5,9 @@ import ( "reflect" "github.com/hashicorp/consul/api" - "github.com/unistack-org/micro/v3/config" - "github.com/unistack-org/micro/v3/util/jitter" - rutil "github.com/unistack-org/micro/v3/util/reflect" + "go.unistack.org/micro/v3/config" + "go.unistack.org/micro/v3/util/jitter" + rutil "go.unistack.org/micro/v3/util/reflect" ) type consulWatcher struct {