example

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FromQueryParameters

type FromQueryParameters interface {
	FromQueryParameters([]string) error
}

type Pagination

type Pagination struct {
	Page     int
	PageSize int
}

func (*Pagination) BunQueryBuilder

func (x *Pagination) BunQueryBuilder(q bun.QueryBuilder) bun.QueryBuilder

func (*Pagination) CalcLimitOffset

func (x *Pagination) CalcLimitOffset() (limit, offset int)

func (*Pagination) FromQueryParameters

func (x *Pagination) FromQueryParameters(arr []string) (err error)

Jump to

Keyboard shortcuts

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