RENAME ReadMappings -> GenerateKeyMap
This commit is contained in:
parent
602fc193fc
commit
3c5835dba1
@ -35,7 +35,7 @@ func ReadConfig() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func ReadMappings(funcMap map[string]func()) {
|
func GenerateKeyMap(funcMap map[string]func()) {
|
||||||
for k := range funcMap {
|
for k := range funcMap {
|
||||||
fmt.Println(k, " : ", viper.GetStringSlice(k))
|
fmt.Println(k, " : ", viper.GetStringSlice(k))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user