sortutil

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmpFold

func CmpFold(i, j string) int

CmpFold compares 2 strings in a case-insensitive manner. If the string is prefixed with !, then it's put to last.

func ContainsFold

func ContainsFold(s, substr string) bool

ContainsFold is a case-insensitive version of strings.Contains.

func LessFold

func LessFold(i, j string) bool

LessFold returns true if i < j case-insensitive. See StrcmpFold.

Types

This section is empty.

Jump to

Keyboard shortcuts

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