Create Collate i18n Indexes
masterUsing the github.com/tidwall/collate package, you can create indexes that follow specific language collation rules (e.g., case-insensitive or numeric sorting).
First, install the dependency:
go get -u github.com/tidwall/collateThen use collate.IndexString or collate.IndexJSON to define the collation rule.