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