Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaginationDetail ¶
type Response ¶
type Response struct { Content interface{} `json:"content"` Pageable PaginationDetail `json:"pageable"` TotalElements int `json:"totalElements"` Last bool `json:"last"` TotalPages int `json:"totalPages"` First bool `json:"first"` Size int `json:"size"` Number int `json:"number"` Sort SortDetail `json:"sort"` NumberOfElements int `json:"numberOfElements"` Empty bool `json:"empty"` }
func NewPaginatedResponse ¶
type SortDetail ¶
type SortDetail struct { Sorted bool `json:"sorted"` Empty bool `json:"empty"` Unsorted bool `json:"unsorted"` }
func NewSortDetail ¶
func NewSortDetail(sort string) SortDetail
Click to show internal directories.
Click to hide internal directories.