paging

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FiltrWhere

func FiltrWhere(field field.Expr, value any) field.Expr

func QueryPaging

func QueryPaging(query any, page Paging) error

Types

type Paging

type Paging interface {
	OrderBy() string
	SetTotal(int)
	GetTotal() int
	OffsetLimit() (offset, limit int)
}

func New

func New() Paging

Jump to

Keyboard shortcuts

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