mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
Fixing up services
This commit is contained in:
@@ -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{}
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user