diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-02-20T13·25+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-02-20T13·25+0100 |
commit | 45aee8257fd5bb947cb127cd645d8ab571a15379 (patch) | |
tree | fcd9a87f3b9e40420eb0d648fb161898cee4a37b /util | |
parent | 0b992c6156a3beba093ff41030783a68f52377ef (diff) |
style: Apply go fmt
Diffstat (limited to 'util')
-rw-r--r-- | util/util.go | 1 | ||||
-rw-r--r-- | util/util_test.go | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/util/util.go b/util/util.go index 3d05322efb16..ea9f636ac89a 100644 --- a/util/util.go +++ b/util/util.go @@ -11,7 +11,6 @@ func Merge(in1 *map[string]interface{}, in2 *map[string]interface{}) *map[string return in1 } - new := make(map[string]interface{}) for k, v := range *in1 { new[k] = v diff --git a/util/util_test.go b/util/util_test.go index c0805533576a..a6adcd713f1a 100644 --- a/util/util_test.go +++ b/util/util_test.go @@ -1,8 +1,8 @@ package util import ( - "testing" "reflect" + "testing" ) func TestMergeWithEmptyMap(t *testing.T) { |