Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskModel ¶
type TaskModel struct { ID int `json:"id"` Title string `json:"title" validate:"required,min=3,max=32"` Description string `json:"description" validate:"min=3"` Color string `json:"color,omitempty"` StartsAt time.Time `json:"starts_at"` DoneAt time.Time `json:"done_at"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt time.Time `json:"deleted_at"` }
Click to show internal directories.
Click to hide internal directories.