Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultView ¶
DefaultView viewer interface implementation The paginator will look like the one from google
func (*DefaultView) Current ¶
func (v *DefaultView) Current() (int, error)
Current returns current page number
func (*DefaultView) Next ¶
func (v *DefaultView) Next() (int, error)
Next returns next page number or zero if current page is the last page
func (*DefaultView) Pages ¶
func (v *DefaultView) Pages() ([]int, error)
Pages returns the list of pages
func (*DefaultView) Prev ¶
func (v *DefaultView) Prev() (int, error)
Prev returns previous page number or zero if current page is first page
Click to show internal directories.
Click to hide internal directories.