Help us shape the future of Go! Take the 2026 Go Developer Survey

stringutil

package
v1.34.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareLower

func CompareLower(a, b string) int

CompareLower returns an integer comparing two strings in a case-insensitive manner. The result will be 0 if a == b, -1 if a < b, and +1 if a > b.

This comparison does not obey locale-specific rules. To compare strings based on case-insensitive, locale-specific ordering, see golang.org/x/text/collate.

Types

This section is empty.

Jump to

Keyboard shortcuts

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