From 1abf5e764714b10a9c8923a38cdca6a26d76eae6 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sun, 30 Jan 2022 17:04:52 +0300 Subject: [PATCH] register: DefaultDomain as var not as const Signed-off-by: Vasiliy Tolstov --- register/register.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/register/register.go b/register/register.go index ed27f0a0..4b74b547 100644 --- a/register/register.go +++ b/register/register.go @@ -11,10 +11,11 @@ import ( const ( // WildcardDomain indicates any domain WildcardDomain = "*" - // DefaultDomain to use if none was provided in options - DefaultDomain = "micro" ) +// DefaultDomain to use if none was provided in options +var DefaultDomain = "micro" + var ( // DefaultRegister is the global default register DefaultRegister Register = NewRegister() -- 2.45.2