From 174df00b3ac1cdced7a96b0515ba44548d6969ca Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Mon, 19 Dec 2016 09:28:30 -0800 Subject: contin. debugging host port issue in config --- system/db/config.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'system') 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)) -- cgit v1.2.3