We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12226b2 commit 79b64c3Copy full SHA for 79b64c3
config.go
@@ -140,7 +140,8 @@ func (config Config) SetMaxkeys(n int) *Config {
140
return config.init()
141
}
142
143
-// SetTextCollator for string type.
+// SetTextCollator for string type. If collator is not set, strings will
144
+// be treated as byte-array and compared as such.
145
func (config Config) SetTextCollator(collator *collate.Collator) *Config {
146
config.textcollator = collator
147
return &config
0 commit comments