From b24fd8c635462f4b01a5df6d376109b0e8aa5b57 Mon Sep 17 00:00:00 2001 From: Janos Dobronszki Date: Thu, 15 Oct 2020 17:04:38 +0200 Subject: [PATCH] Fixing up services --- test/kv/handler/handler.go | 2 +- test/kv/main.go | 2 +- test/pubsub/main.go | 2 +- test/routes/routes-client/main.go | 2 +- test/routes/routes-server/handler/handler.go | 2 +- test/routes/routes-server/handler/util.go | 2 +- test/routes/routes-server/main.go | 4 ++-- test/template/cmd/template/main.go | 2 +- test/template/handler/idiomatic.go | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/test/kv/handler/handler.go b/test/kv/handler/handler.go index 7a99894..4d6f697 100644 --- a/test/kv/handler/handler.go +++ b/test/kv/handler/handler.go @@ -8,7 +8,7 @@ import ( log "github.com/micro/go-micro/v3/logger" store "github.com/micro/micro/v3/service/store" - pb "github.com/micro/services/kv/proto" + pb "github.com/micro/services/test/kv/proto" ) type Example struct{} diff --git a/test/kv/main.go b/test/kv/main.go index 358dd3c..167e3e2 100644 --- a/test/kv/main.go +++ b/test/kv/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/micro/services/kv/handler" + "github.com/micro/services/test/kv/handler" "github.com/micro/micro/v3/service" ) diff --git a/test/pubsub/main.go b/test/pubsub/main.go index 745bf77..6da6b16 100644 --- a/test/pubsub/main.go +++ b/test/pubsub/main.go @@ -7,7 +7,7 @@ import ( "github.com/micro/micro/v3/service" "github.com/micro/micro/v3/service/logger" - pb "github.com/micro/services/pubsub/proto" + pb "github.com/micro/services/test/pubsub/proto" ) // Pub will publish messages every second diff --git a/test/routes/routes-client/main.go b/test/routes/routes-client/main.go index e1fc06b..d892c81 100644 --- a/test/routes/routes-client/main.go +++ b/test/routes/routes-client/main.go @@ -8,7 +8,7 @@ import ( "github.com/micro/micro/v3/service" "github.com/micro/micro/v3/service/logger" - pb "github.com/micro/services/routes/proto" + pb "github.com/micro/services/test/routes/proto" ) func main() { diff --git a/test/routes/routes-server/handler/handler.go b/test/routes/routes-server/handler/handler.go index 6e02dfc..e6a0613 100644 --- a/test/routes/routes-server/handler/handler.go +++ b/test/routes/routes-server/handler/handler.go @@ -7,7 +7,7 @@ import ( "time" "github.com/golang/protobuf/proto" - pb "github.com/micro/services/routes/proto" + pb "github.com/micro/services/test/routes/proto" ) // RouteGuide implements the route guide handler interface diff --git a/test/routes/routes-server/handler/util.go b/test/routes/routes-server/handler/util.go index 1e8e681..47b3274 100644 --- a/test/routes/routes-server/handler/util.go +++ b/test/routes/routes-server/handler/util.go @@ -4,7 +4,7 @@ import ( "fmt" "math" - pb "github.com/micro/services/routes/proto" + pb "github.com/micro/services/test/routes/proto" ) func toRadians(num float64) float64 { diff --git a/test/routes/routes-server/main.go b/test/routes/routes-server/main.go index 030d821..f8dfabd 100644 --- a/test/routes/routes-server/main.go +++ b/test/routes/routes-server/main.go @@ -7,8 +7,8 @@ import ( "github.com/micro/micro/v3/service" "github.com/micro/micro/v3/service/logger" - pb "github.com/micro/services/routes/proto" - "github.com/micro/services/routes/routes-server/handler" + pb "github.com/micro/services/test/routes/proto" + "github.com/micro/services/test/routes/routes-server/handler" ) func main() { diff --git a/test/template/cmd/template/main.go b/test/template/cmd/template/main.go index 3948e07..a23ef7f 100644 --- a/test/template/cmd/template/main.go +++ b/test/template/cmd/template/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/micro/services/template/handler" + "github.com/micro/services/test/template/handler" "github.com/micro/micro/v3/service" "github.com/micro/micro/v3/service/logger" diff --git a/test/template/handler/idiomatic.go b/test/template/handler/idiomatic.go index 4b2be89..3ba96bd 100644 --- a/test/template/handler/idiomatic.go +++ b/test/template/handler/idiomatic.go @@ -5,7 +5,7 @@ import ( log "github.com/micro/micro/v3/service/logger" - idiomatic "github.com/micro/services/template/proto" + idiomatic "github.com/micro/services/test/template/proto" ) type Idiomatic struct{}