sorting

package
v6.51.0+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LessIgnoreCase

func LessIgnoreCase(first string, second string) bool

LessIgnoreCase returns true if first is alphabetically less than second.

func SortAlphabeticFunc

func SortAlphabeticFunc(list []string) func(i, j int) bool

SortAlphabeticFunc returns a `less()` comparator for sorting strings while respecting case.

Types

type AlphabetSorter

type AlphabetSorter func([]string) func(i, j int) bool

Jump to

Keyboard shortcuts

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