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