Merge pull request #87 from unistack-org/register

register: DefaultDomain as var not as const
This commit is contained in:
Василий Толстов 2022-01-30 17:05:19 +03:00 committed by GitHub
commit 1dda3f0dcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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