mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-20 14:35:07 +00:00
Fix test chat service imports
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
|||||||
"github.com/micro/micro/v3/service"
|
"github.com/micro/micro/v3/service"
|
||||||
"github.com/micro/micro/v3/service/context/metadata"
|
"github.com/micro/micro/v3/service/context/metadata"
|
||||||
"github.com/micro/micro/v3/service/logger"
|
"github.com/micro/micro/v3/service/logger"
|
||||||
chat "github.com/micro/services/chat/proto"
|
chat "github.com/micro/services/test/chat/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import (
|
|||||||
"google.golang.org/protobuf/types/known/timestamppb"
|
"google.golang.org/protobuf/types/known/timestamppb"
|
||||||
|
|
||||||
// it's standard to import the services own proto under the alias pb
|
// it's standard to import the services own proto under the alias pb
|
||||||
pb "github.com/micro/services/chat/proto"
|
pb "github.com/micro/services/test/chat/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -4,8 +4,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"
|
||||||
|
|
||||||
"github.com/micro/services/chat/handler"
|
"github.com/micro/services/test/chat/handler"
|
||||||
pb "github.com/micro/services/chat/proto"
|
pb "github.com/micro/services/test/chat/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
Reference in New Issue
Block a user