Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookDto ¶ added in v1.5.2
type BookDto struct { Title string `validate:"required,min=3,max=50" json:"title"` Isbn string `validate:"required,min=10,max=20" json:"isbn"` CategoryID uint `json:"categoryId"` FormatID uint `json:"formatId"` // contains filtered or unexported fields }
BookDto defines a data transfer object for book.
func NewBookDto ¶ added in v1.5.2
NewBookDto is constructor.
Click to show internal directories.
Click to hide internal directories.