From e5c9be9d7c44f80d0acc0660dd0f7af677b0d40d Mon Sep 17 00:00:00 2001 From: roger_sole Date: Mon, 29 Aug 2016 10:45:52 +0200 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 4ebd8dd..c667aad 100644 --- a/README.md +++ b/README.md @@ -406,14 +406,23 @@ The following functions and methods exist: * `Get(key string) : interface{}` * `GetBool(key string) : bool` + * `GetDefaultBool(key string, value bool) : bool` * `GetFloat64(key string) : float64` + * `GetDefaultFloat64(key string, value float64) : float64` * `GetInt(key string) : int` + * `GetDefaultInt(key string, value int) : int` * `GetString(key string) : string` + * `GetDefaultString(key string, value string) : string` * `GetStringMap(key string) : map[string]interface{}` + * `GetDefaultStringMap(key string, value map[string]interface{}) : map[string]interface{}` * `GetStringMapString(key string) : map[string]string` + * `GetDefaultStringMapString(key string, value map[string]string) : map[string]string` * `GetStringSlice(key string) : []string` + * `GetDefaultStringSlice(key string, value []string) : []string` * `GetTime(key string) : time.Time` + * `GetDefaultTime(key string, value time.Time) : time.Time` * `GetDuration(key string) : time.Duration` + * `GetDefaultDuration(key string, value time.Duration) : time.Duration` * `IsSet(key string) : bool` One important thing to recognize is that each Get function will return a zero