usermngmt/config/config.go

21 lines
257 B
Go
Raw Normal View History

2021-12-07 07:28:52 +00:00
package config
type Configuration struct {
EmailIsUnique bool
PhoneNumberIsUnique bool
}
var (
c *Configuration
)
// Set ...
func Set(instance *Configuration) {
c = instance
}
// GetInstance ...
func GetInstance() *Configuration {
return c
}