filter

package
v0.0.0-...-07f0968 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 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 Base

type Base struct {
	IDs        IDs      `json:"ids,omitempty"`
	After      *ID      `json:"after,omitempty"`
	Sort       string   `json:"sort,omitempty"`
	Asc        *bool    `json:"asc,omitempty"`
	Limit      uint16   `json:"limit,omitempty"`
	MaxLimit   uint16   `json:"-"`
	ValidSorts []string `json:"-"`
}

func Defs

func Defs(asc bool, limit, maxLimit uint16, validSorts ...string) Base

func DefsAsc100

func DefsAsc100(validSorts ...string) Base

func (*Base) MustBeValid

func (b *Base) MustBeValid(tlbx app.Tlbx)

Jump to

Keyboard shortcuts

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