diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-19 09:28:30 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-19 09:28:30 -0800 |
commit | 174df00b3ac1cdced7a96b0515ba44548d6969ca (patch) | |
tree | a71d4a3460225880e12cf6fcb65f78e41975b9ce | |
parent | 6a49024e0ba2f03578164bf64a7d15ac056e591b (diff) |
contin. debugging host port issue in config
-rw-r--r-- | system/db/config.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/system/db/config.go b/system/db/config.go index 5122e41..bec7f0c 100644 --- a/system/db/config.go +++ b/system/db/config.go @@ -137,15 +137,6 @@ func PutConfig(key string, value interface{}) error { data := make(url.Values) for k, v := range kv { switch v.(type) { - case int, int8, int16, int32, int64, uint, uint8, uint16, uint32, uint64: - data.Set(k, fmt.Sprintf("%d", v)) - - case float32, float64: - data.Set(k, fmt.Sprintf("%f", v)) - - case bool: - data.Set(k, fmt.Sprintf("%t", v)) - case string: data.Set(k, v.(string)) |