Versions in this module Expand all Collapse all v0 v0.2.0 Jun 12, 2019 v0.1.0 Jun 11, 2019 Changes in this version + const CLDRVersion + const UnicodeVersion + func Supported() []language.Tag + type Buffer struct + func (b *Buffer) Reset() + type Collator struct + func New(t language.Tag, o ...Option) *Collator + func NewFromTable(w colltab.Weighter, o ...Option) *Collator + func (c *Collator) Compare(a, b []byte) int + func (c *Collator) CompareString(a, b string) int + func (c *Collator) Key(buf *Buffer, str []byte) []byte + func (c *Collator) KeyFromString(buf *Buffer, str string) []byte + func (c *Collator) Sort(x Lister) + func (c *Collator) SortStrings(x []string) + type Lister interface + Bytes func(i int) []byte + Len func() int + Swap func(i, j int) + type Option struct + var Force Option = force + var IgnoreCase Option = ignoreCase + var IgnoreDiacritics Option = ignoreDiacritics + var IgnoreWidth Option = ignoreWidth + var Loose Option = loose + var Numeric Option = numeric + func OptionsFromTag(t language.Tag) Option + func Reorder(s ...string) Option