register: DefaultDomain as var not as const

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2022-01-30 17:04:52 +03:00
parent df8560bb6f
commit 1abf5e7647

View File

@ -11,10 +11,11 @@ import (
const ( const (
// WildcardDomain indicates any domain // WildcardDomain indicates any domain
WildcardDomain = "*" 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 ( var (
// DefaultRegister is the global default register // DefaultRegister is the global default register
DefaultRegister Register = NewRegister() DefaultRegister Register = NewRegister()