paginator

package module
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 1 Imported by: 0

README

Löffel Software GmbH - Go Paginator

Build Status codecov

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Paginator

type Paginator struct {
	Page  uint64 `gorm:"-" json:"page"`
	Limit uint64 `gorm:"-" json:"limit"`
	Total uint64 `gorm:"total" json:"total"`
	*sync.RWMutex
}

func (Paginator) GetLimit

func (paginator Paginator) GetLimit() uint64

func (*Paginator) GetTotal

func (paginator *Paginator) GetTotal() uint64

func (*Paginator) Offset

func (paginator *Paginator) Offset() uint64

func (*Paginator) SetTotal

func (paginator *Paginator) SetTotal(total uint64)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL