Update README.md

This commit is contained in:
roger_sole 2016-08-29 10:45:52 +02:00 committed by GitHub
parent 29e81a0c5f
commit e5c9be9d7c

View file

@ -406,14 +406,23 @@ The following functions and methods exist:
* `Get(key string) : interface{}` * `Get(key string) : interface{}`
* `GetBool(key string) : bool` * `GetBool(key string) : bool`
* `GetDefaultBool(key string, value bool) : bool`
* `GetFloat64(key string) : float64` * `GetFloat64(key string) : float64`
* `GetDefaultFloat64(key string, value float64) : float64`
* `GetInt(key string) : int` * `GetInt(key string) : int`
* `GetDefaultInt(key string, value int) : int`
* `GetString(key string) : string` * `GetString(key string) : string`
* `GetDefaultString(key string, value string) : string`
* `GetStringMap(key string) : map[string]interface{}` * `GetStringMap(key string) : map[string]interface{}`
* `GetDefaultStringMap(key string, value map[string]interface{}) : map[string]interface{}`
* `GetStringMapString(key string) : map[string]string` * `GetStringMapString(key string) : map[string]string`
* `GetDefaultStringMapString(key string, value map[string]string) : map[string]string`
* `GetStringSlice(key string) : []string` * `GetStringSlice(key string) : []string`
* `GetDefaultStringSlice(key string, value []string) : []string`
* `GetTime(key string) : time.Time` * `GetTime(key string) : time.Time`
* `GetDefaultTime(key string, value time.Time) : time.Time`
* `GetDuration(key string) : time.Duration` * `GetDuration(key string) : time.Duration`
* `GetDefaultDuration(key string, value time.Duration) : time.Duration`
* `IsSet(key string) : bool` * `IsSet(key string) : bool`
One important thing to recognize is that each Get function will return a zero One important thing to recognize is that each Get function will return a zero