From 11164b48c94572573b51c380894763008f6010f6 Mon Sep 17 00:00:00 2001 From: sunty <suntianyu0923@163.com> Date: 星期二, 30 七月 2019 17:15:46 +0800 Subject: [PATCH] delete EndTime omitempty --- controllers/tasklist.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/tasklist.go b/controllers/tasklist.go index e24848a..c49a822 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