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