dashsort

package
v0.0.0-...-cb5b6c1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package dashsort implements the generated allowlist-based dash-sort codec.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(value string) ([]bind.Sort, error)

Parse is a short alias for ParseSort.

func ParseSort

func ParseSort(value string) ([]bind.Sort, error)

ParseSort parses the compact dash-sort representation. A leading dash means descending; the field itself is intentionally not authorized here.

Types

type SortCodec

type SortCodec struct{}

SortCodec adapts the codec to the extension contract.

func (SortCodec) ParseSort

func (SortCodec) ParseSort(value string) ([]bind.Sort, error)

Jump to

Keyboard shortcuts

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