Documentation ¶
Index ¶
Constants ¶
View Source
const ( PAGE = 1 PAGE_SIZE = 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Paging ¶
func NewPaging2 ¶
type PagingResult ¶
type PagingResult struct { Count int64 `json:"count"` Current int `json:"current"` PageSize int `json:"pageSize"` Results interface{} `json:"results"` TotalPage int64 `json:"totalPage"` }
func NewPagingResult ¶
func NewPagingResult(paging *Paging, count int64) *PagingResult
func NewPagingResult2 ¶
func NewPagingResult2(paging Paging) *PagingResult
func (*PagingResult) GetTotalPage ¶
func (pr *PagingResult) GetTotalPage() int64
func (*PagingResult) SetTotalPage ¶
func (pr *PagingResult) SetTotalPage()
Click to show internal directories.
Click to hide internal directories.