From a1665ab37a56634bd9838a5ef26ef69b9b05e9b8 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sat, 1 Dec 2018 12:54:46 +0000 Subject: [PATCH] Add consul package comment --- registry/consul/consul.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/registry/consul/consul.go b/registry/consul/consul.go index c0cc2699..03bc8d89 100644 --- a/registry/consul/consul.go +++ b/registry/consul/consul.go @@ -1,9 +1,11 @@ +// Package consul provides a consul based registry and is the default discovery system package consul import ( "github.com/micro/go-micro/registry" ) +// NewRegistry returns a new consul registry func NewRegistry(opts ...registry.Option) registry.Registry { return registry.NewRegistry(opts...) }