From e938ae6101a02adaaa6c147ce14416b8a7b9c675 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Fri, 17 Dec 2021 17:13:00 +0800 Subject: [PATCH] update --- task/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task/task.go b/task/task.go index 86f493b..72fbb2e 100644 --- a/task/task.go +++ b/task/task.go @@ -43,7 +43,7 @@ type Task struct { // and a interface to carry value will be provided as the first argument // args will be passed after carry, in order to normalize, // it is suggested to use strings or other simple types - Func func(c *interface{}, args ...interface{}) error + Func func(c *interface{}, args ...interface{}) error `json:"-"` } type _task struct {