forked from External/ergo
mark unicode normalization with type
This commit is contained in:
parent
97886dd00f
commit
96a108f8da
12 changed files with 324 additions and 269 deletions
|
|
@ -37,10 +37,10 @@ type Config struct {
|
|||
}
|
||||
}
|
||||
|
||||
func (conf *Config) Operators() map[string][]byte {
|
||||
operators := make(map[string][]byte)
|
||||
func (conf *Config) Operators() map[Name][]byte {
|
||||
operators := make(map[Name][]byte)
|
||||
for name, opConf := range conf.Operator {
|
||||
operators[name] = opConf.PasswordBytes()
|
||||
operators[NewName(name)] = opConf.PasswordBytes()
|
||||
}
|
||||
return operators
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue