Versions in this module Expand all Collapse all v1 v1.1.0 Oct 4, 2020 Changes in this version + var ToAscii = unidecode.String + var ToLower = strings.ToLower + func Compare(e1, e2 string, t ...TransformFunc) int + func CompareAscii(e1, e2 string) int + func CompareAsciiInsensitive(e1, e2 string) int + func CompareInsensitive(e1, e2 string) int + func Equal(cmps ...CompareFunc) func(string, string) bool + func Less(cmps ...CompareFunc) func(string, string) bool + func Natural(e1, e2 string, t ...TransformFunc) int + func NaturalAscii(e1, e2 string) int + func NaturalAsciiInsensitive(e1, e2 string) int + func NaturalInsensitive(e1, e2 string) int + type CompareFunc func(string, string) int + func BuildCompare(cmps ...CompareFunc) CompareFunc + type TransformFunc func(string) string + func BuildTransform(transforms ...TransformFunc) TransformFunc