RENAME ReadMappings -> GenerateKeyMap

This commit is contained in:
aditya-K2 2021-11-11 23:24:04 +05:30
parent 602fc193fc
commit 3c5835dba1

View File

@ -35,7 +35,7 @@ func ReadConfig() {
}
}
func ReadMappings(funcMap map[string]func()) {
func GenerateKeyMap(funcMap map[string]func()) {
for k := range funcMap {
fmt.Println(k, " : ", viper.GetStringSlice(k))
}