package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

New returns a new Collator initialized for the given locale.
NewFromTable returns a new Collator for the given Weighter.
OptionsFromTag extracts the BCP47 collation options from the tag and configures a collator accordingly.
Reorder overrides the pre-defined ordering of scripts and character sets.
Supported returns the list of languages for which collating differs from its parent.

# Constants

CLDRVersion is the CLDR version from which the tables in this package are derived.
UnicodeVersion is the Unicode version from which the tables in this package are derived.

# Variables

Force ordering if strings are equivalent but not equal.
IgnoreCase sets case-insensitive comparison.
IgnoreDiacritics causes diacritical marks to be ignored.
IgnoreWidth causes full-width characters to match their half-width equivalents.
Loose sets the collator to ignore diacritics, case and weight.
Numeric specifies that numbers should sort numerically ("2" < "12").

# Structs

Buffer holds keys generated by Key and KeyString.
Collator provides functionality for comparing strings for a given collation order.
An Option is used to change the behavior of a Collator.

# Interfaces

A Lister can be sorted by Collator's Sort method.