From dc15319a6da9432b8bb47da21e12ad80af7cc934 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Mon, 25 Oct 2021 20:24:40 +0300 Subject: [PATCH] change import paths Signed-off-by: Vasiliy Tolstov --- go.mod | 4 ++-- go.sum | 17 +++++++++-------- json/codec_test.go | 2 +- json/json.go | 4 ++-- json/options.go | 2 +- proto/codec_test.go | 2 +- proto/proto.go | 4 ++-- 7 files changed, 18 insertions(+), 17 deletions(-) diff --git a/go.mod b/go.mod index 6575feb..0c77724 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ -module github.com/unistack-org/micro-codec-segmentio/v3 +module go.unistack.org/micro-codec-segmentio/v3 go 1.16 require ( github.com/segmentio/encoding v0.2.21 - github.com/unistack-org/micro/v3 v3.7.4 + go.unistack.org/micro/v3 v3.8.4 google.golang.org/protobuf v1.27.1 ) diff --git a/go.sum b/go.sum index d978e83..7c458e8 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ github.com/ef-ds/deque v1.0.4/go.mod h1:gXDnTC3yqvBcHbq2lcExjtAcVrOnJCbMcZXmuj8Z4tg= -github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= +github.com/golang-jwt/jwt/v4 v4.1.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= @@ -11,19 +11,20 @@ github.com/segmentio/asm v1.0.1 h1:g9VK62hXylgXI4yJV+dLTu/1j7kTxG9bkUSYBxL9dpg= github.com/segmentio/asm v1.0.1/go.mod h1:4EUJGaKsB8ImLUwOGORVsNd9vTRDeh44JGsY4aKp5I4= github.com/segmentio/encoding v0.2.21 h1:hlRQz3Pv+/mBj+jqr46TVqqv6AuTwvP5aAxQ0Usd4gY= github.com/segmentio/encoding v0.2.21/go.mod h1:kF1db1oBuYxMvLR3RXrZJchRdBKrS+1J/hL63p5hekI= -github.com/silas/dag v0.0.0-20210121180416-41cf55125c34/go.mod h1:7RTUFBdIRC9nZ7/3RyRNH1bdqIShrDejd1YbLwgPS+I= -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.4 h1:nRk7f58v0VsiW7aKL0UQaFCQxFoursHQLoWdeZ1RYbg= -github.com/unistack-org/micro/v3 v3.7.4/go.mod h1:78vy7ggElJD+ayx8ruhJsY+SkGUupfR32LXrg1UObvg= -golang.org/x/net v0.0.0-20210510120150-4163338589ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +github.com/silas/dag v0.0.0-20210626123444-3804bac2d6d4/go.mod h1:7RTUFBdIRC9nZ7/3RyRNH1bdqIShrDejd1YbLwgPS+I= +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.4 h1:Nny6JT7TlDS0e5bPVmbbpKXrisMQ6q9cvao5uyaa3eo= +go.unistack.org/micro/v3 v3.8.4/go.mod h1:KMMmOmbgo/D52/rCAbqeKbBsgEEbSKM69he54J3ZIuA= +golang.org/x/net v0.0.0-20210928044308-7d9f5e0b762b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= diff --git a/json/codec_test.go b/json/codec_test.go index cea01e5..b4bbf0f 100644 --- a/json/codec_test.go +++ b/json/codec_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/unistack-org/micro/v3/codec" + "go.unistack.org/micro/v3/codec" ) func TestFrame(t *testing.T) { diff --git a/json/json.go b/json/json.go index d07b671..25023d8 100644 --- a/json/json.go +++ b/json/json.go @@ -5,8 +5,8 @@ import ( "io" "github.com/segmentio/encoding/json" - "github.com/unistack-org/micro/v3/codec" - rutil "github.com/unistack-org/micro/v3/util/reflect" + "go.unistack.org/micro/v3/codec" + rutil "go.unistack.org/micro/v3/util/reflect" ) var ( diff --git a/json/options.go b/json/options.go index 60d3971..9708c5e 100644 --- a/json/options.go +++ b/json/options.go @@ -1,7 +1,7 @@ package json import ( - codec "github.com/unistack-org/micro/v3/codec" + codec "go.unistack.org/micro/v3/codec" ) type unmarshalOptionsKey struct{} diff --git a/proto/codec_test.go b/proto/codec_test.go index 944123a..00daea7 100644 --- a/proto/codec_test.go +++ b/proto/codec_test.go @@ -4,7 +4,7 @@ import ( "bytes" "testing" - "github.com/unistack-org/micro/v3/codec" + "go.unistack.org/micro/v3/codec" ) func TestFrame(t *testing.T) { diff --git a/proto/proto.go b/proto/proto.go index 2699399..9067cb8 100644 --- a/proto/proto.go +++ b/proto/proto.go @@ -5,8 +5,8 @@ import ( "io" "github.com/segmentio/encoding/proto" - "github.com/unistack-org/micro/v3/codec" - rutil "github.com/unistack-org/micro/v3/util/reflect" + "go.unistack.org/micro/v3/codec" + rutil "go.unistack.org/micro/v3/util/reflect" newproto "google.golang.org/protobuf/proto" )