Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TagCreateRequest ¶
type TagCreateRequest struct {
Name string `json:"name" validate:"required"`
}
type TodoCreateRequest ¶
type TodoCreateRequest struct { Message string `json:"message" validate:"required"` Note *string `json:"note"` Tags *[]int32 `json:"tags"` }
Example for using other validator rule `json:"value" validate:"min=1,max=10,required"`
Click to show internal directories.
Click to hide internal directories.