Documentation ¶ Index ¶ type Paginated func NewPaginatedRes[t any](data t, page, perPage int, totalCount int64) Paginated[t] Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Paginated ¶ type Paginated[t any] struct { Page int `json:"page"` PerPage int `json:"per_page"` TotalPage int `json:"total_page"` TotalCount int64 `json:"total_count"` Data t `json:"data"` } func NewPaginatedRes ¶ func NewPaginatedRes[t any](data t, page, perPage int, totalCount int64) Paginated[t] Source Files ¶ View all Source files pagination_dto.go Directories ¶ Show internal Expand all Path Synopsis feed_dto item_dto subscription_dto tag_dto Click to show internal directories. Click to hide internal directories.