Skip to content

Commit

Permalink
Merge pull request #87 from unistack-org/register
Browse files Browse the repository at this point in the history
register: DefaultDomain as var not as const
  • Loading branch information
vtolstov authored Jan 30, 2022
2 parents df8560b + 1abf5e7 commit 1dda3f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions register/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1dda3f0

Please sign in to comment.