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" log "github.com/micro/go-micro/v3/logger"
store "github.com/micro/micro/v3/service/store" 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{} type Example struct{}

View File

@@ -1,7 +1,7 @@
package main package main
import ( import (
"github.com/micro/services/kv/handler" "github.com/micro/services/test/kv/handler"
"github.com/micro/micro/v3/service" "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"
"github.com/micro/micro/v3/service/logger" "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 // 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"
"github.com/micro/micro/v3/service/logger" "github.com/micro/micro/v3/service/logger"
pb "github.com/micro/services/routes/proto" pb "github.com/micro/services/test/routes/proto"
) )
func main() { func main() {

View File

@@ -7,7 +7,7 @@ import (
"time" "time"
"github.com/golang/protobuf/proto" "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 // RouteGuide implements the route guide handler interface

View File

@@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"math" "math"
pb "github.com/micro/services/routes/proto" pb "github.com/micro/services/test/routes/proto"
) )
func toRadians(num float64) float64 { func toRadians(num float64) float64 {

View File

@@ -7,8 +7,8 @@ import (
"github.com/micro/micro/v3/service" "github.com/micro/micro/v3/service"
"github.com/micro/micro/v3/service/logger" "github.com/micro/micro/v3/service/logger"
pb "github.com/micro/services/routes/proto" pb "github.com/micro/services/test/routes/proto"
"github.com/micro/services/routes/routes-server/handler" "github.com/micro/services/test/routes/routes-server/handler"
) )
func main() { func main() {

View File

@@ -1,7 +1,7 @@
package main package main
import ( 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"
"github.com/micro/micro/v3/service/logger" "github.com/micro/micro/v3/service/logger"

View File

@@ -5,7 +5,7 @@ import (
log "github.com/micro/micro/v3/service/logger" 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{} type Idiomatic struct{}