Fixing up services

This commit is contained in:
Janos Dobronszki
2020-10-15 17:04:38 +02:00
parent 9cd6b356bf
commit b24fd8c635
9 changed files with 10 additions and 10 deletions

View File

@@ -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{}

View File

@@ -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"
)

View File

@@ -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

View File

@@ -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() {

View File

@@ -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

View File

@@ -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 {

View File

@@ -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() {

View File

@@ -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"

View File

@@ -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{}