micro/registry/consul/consul.go

12 lines
208 B
Go
Raw Normal View History

package consul
// This is a hack
import (
"github.com/myodc/go-micro/registry"
)
func NewRegistry(addrs []string, opt ...registry.Option) registry.Registry {
return registry.NewRegistry(addrs, opt...)
}