register: DefaultDomain as var not as const #87

Merged
vtolstov merged 1 commits from register into master 2022-01-30 17:05:19 +03:00

View File

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