Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct { Limit int `json:"limit"` Page int `json:"page"` Query *string `json:"q"` Sort string `json:"sort"` Status int `json:"status"` Order []string `json:"order"` }
Filter ...
type Pagination ¶
type Pagination struct { Limit int `json:"limit"` Page int `json:"page"` TotalPage uint `json:"total_page"` TotalRows int64 `json:"total_rows"` }
Pagination ...
type UserRequest ¶
type UserRequest struct {
Name string `json:"name" form:"name" validate:"required,min=2,max=150"`
}
UserRequest ...
type UserResponse ¶
type UserResponse struct { ID string `json:"id"` Name string `json:"name"` CreatedAt interface{} `json:"created_at"` UpdatedAt interface{} `json:"updated_at"` }
UserResponse ...
Click to show internal directories.
Click to hide internal directories.