sort

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clause

type Clause struct {
	// contains filtered or unexported fields
}

Clause sort clause.

type Sort

type Sort struct {
	// contains filtered or unexported fields
}

Sort provides sorting.

func (*Sort) Sorted

func (r *Sort) Sorted(in *gorm.DB) (out *gorm.DB)

Sorted returns sorted DB.

func (*Sort) With

func (r *Sort) With(ctx *gin.Context, m interface{}) (err error)

With context.

type SortError

type SortError struct {
	// contains filtered or unexported fields
}

SortError reports sorting error.

func (*SortError) Error

func (r *SortError) Error() string

func (*SortError) Is

func (r *SortError) Is(err error) (matched bool)

Jump to

Keyboard shortcuts

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