Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct { Status int `json:"status"` Data interface{} `json:"data"` Msg string `json:"msg"` Error string `json:"error"` }
Response 基础序列化器
type ResponseTask ¶
type ResponseUser ¶
type Task ¶
type Task struct { Id uint `json:"id" exmaple:"1"` Title string `json:"title" exmaple:"吃饭"` Content string `json:"content" exmaple:"中午吃螺蛳粉"` View uint64 `json:"view" example:"32"` Status int `json:"status" example:"0"` CreateAt int64 `json:"create_at"` StartTime int64 `json:"start_time"` EndTime int64 `json:"end_time"` }
func BuildTasks ¶
Click to show internal directories.
Click to hide internal directories.