package participant type RespErr struct { Code int32 `json:"code"` Message string `json:"message"` } type Resp struct { Code int32 `json:"code"` Message string `json:"msg"` Data interface{} `json:"data"` } type CreateParam struct { Name string `json:"name" binding:"required"` Desc string `json:"desc"` Src interface{} `json:"src,omitempty"` Param interface{} `json:"param,omitempty"` } type TaskCreateParam struct { } type TaskResultSyncParam struct { Src interface{} `json:"src,omitempty"` Param interface{} `json:"param,omitempty"` }