Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DistanceSkipped = 3
MaxDistanceIgnored is the maximum Levenshtein distance from which we won't consider a string similar at all and thus will be ignored.
Functions ¶
func Find ¶
Find returns a string with suggestions for name(s) in `names` similar to the string `src` until a max distance of `DistanceSkipped`.
func FindFromMap ¶
FindFromMap does the same as Find but taking a map instead of a string array as first argument.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.