update import names for mucp

This commit is contained in:
Asim Aslam 2019-06-12 12:54:45 +01:00
parent 97967cbe14
commit af096951fc

View File

@ -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...)