From 75c6f6fea50b977cb72a50f4609a5cbbbf235c35 Mon Sep 17 00:00:00 2001 From: sunty <suntianyu0923@163.com> Date: 星期一, 29 七月 2019 10:07:56 +0800 Subject: [PATCH] delete analyServerId omitempty --- controllers/tasklist.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/tasklist.go b/controllers/tasklist.go index c49a822..e24848a 100644 --- a/controllers/tasklist.go +++ b/controllers/tasklist.go @@ -41,7 +41,7 @@ source["title"] = key.(string) source["value"] = key.(string) source["key"] = key.(string) - sources = append(sources, source) + sources := append(sources, source) fmt.Println(key) } -- Gitblit v1.8.0