sortorder

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Base62Digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"

Base62Digits is the digit set used by the fractional-indexing algorithm. Compatible with the npm fractional-indexing package.

Variables

This section is empty.

Functions

func GenerateKeyBetween

func GenerateKeyBetween(a, b string) (string, error)

GenerateKeyBetween generates a fractional-indexing key between a and b. Use empty string to represent no bound (start/end of range).

func GenerateNKeysBetween

func GenerateNKeysBetween(a, b string, n int) ([]string, error)

GenerateNKeysBetween generates n keys between a and b. Use empty string to represent no bound.

Types

This section is empty.

Jump to

Keyboard shortcuts

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