Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List[T any] struct { Pagination Pagination Items []T }
type Pagination ¶
type ViewModel ¶
type ViewModel struct { StartElement int LastElement int TotalElements int Sequence []int PreviousPage int CurrentPage int `html:"pagination.currentPage" json:"currentPage"` NextPage int Show bool ShowPreviousButton bool ShowNextButton bool // contains filtered or unexported fields }
func PaginationToVM ¶
func PaginationToVM(p Pagination, loc localizer.Localizer) ViewModel
func (ViewModel) GetMessageOfElements ¶
func (ViewModel) GetNextTag ¶
func (ViewModel) GetPreviousTag ¶
func (ViewModel) ToDto ¶
func (vm ViewModel) ToDto() Pagination
Click to show internal directories.
Click to hide internal directories.