Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateArticleRequest ¶
type CreateArticleRequest struct { UserID uint `json:"user_id" validate:"required"` Title string `json:"title" validate:"required"` Content string `json:"content" validate:"required"` }
func (*CreateArticleRequest) Validate ¶
func (req *CreateArticleRequest) Validate() error
Click to show internal directories.
Click to hide internal directories.