github.com/charlievieth/strcase (go): Package strcase is a case-insensitive and Unicode aware implementation of the Go standard library's strings package that is fast, accurate, and never allocates memory.  Simple Unicode case-folding is used for all comparisons. This matches the behavior of strings.EqualFold.  Package strcase also provides two functions for identifying non-ASCII characters that are not available in the strings package: IndexNonASCII and ContainsNonASCII. On amd64 and arm64 these functions are implemented in assembly and their performance is mostly governed by memory bandwidth.
Keywords: case-insensitive|case-insensitive-stings|go|golang|strings