Skip to content

Commit

Permalink
Fixed a typo in GetMap method name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalaiselvan Nadar authored and Kalaiselvan Nadar committed Aug 1, 2019
1 parent 32d4132 commit 34224b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (config *Config) GetMapString(key string) map[string]string {
return config.viper.GetStringMapString(key)
}

//GetgMap returns the value associated with the key as a map of interfaces
func (config *Config) GetgMap(key string) map[string]interface{} {
//GetMap returns the value associated with the key as a map of interfaces
func (config *Config) GetMap(key string) map[string]interface{} {
return config.viper.GetStringMap(key)
}

0 comments on commit 34224b9

Please sign in to comment.