orderby

package
v0.0.0-...-727adce Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidOrderDirectionError

type InvalidOrderDirectionError struct {
	Direction string
}

func (*InvalidOrderDirectionError) Error

type OrderBy

type OrderBy struct {
	OrderItem []OrderItem
}

func NewOrderBy

func NewOrderBy(orderByString string) (*OrderBy, error)

type OrderDirection

type OrderDirection int
const (
	ASC  OrderDirection = 1
	DESC OrderDirection = 2
)

type OrderItem

type OrderItem struct {
	Property  string
	Direction OrderDirection
}

Jump to

Keyboard shortcuts

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