update import names for mucp
This commit is contained in:
parent
97967cbe14
commit
af096951fc
@ -4,15 +4,15 @@ package mucp
|
|||||||
import (
|
import (
|
||||||
// TODO: change to go-micro/service
|
// TODO: change to go-micro/service
|
||||||
"github.com/micro/go-micro"
|
"github.com/micro/go-micro"
|
||||||
"github.com/micro/go-micro/client/mucp"
|
cmucp "github.com/micro/go-micro/client/mucp"
|
||||||
"github.com/micro/go-micro/server/mucp"
|
smucp "github.com/micro/go-micro/server/mucp"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NewService returns a new mucp service
|
// NewService returns a new mucp service
|
||||||
func NewService(opts ...micro.Option) micro.Service {
|
func NewService(opts ...micro.Option) micro.Service {
|
||||||
options := []micro.Option{
|
options := []micro.Option{
|
||||||
micro.Client(mucp.NewClient()),
|
micro.Client(cmucp.NewClient()),
|
||||||
micro.Server(mucp.NewServer()),
|
micro.Server(smucp.NewServer()),
|
||||||
}
|
}
|
||||||
|
|
||||||
options = append(options, opts...)
|
options = append(options, opts...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user