- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for closestCommands (0.16 sec)
-
cmd/main.go
var closestCommands []string closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...) sort.Strings(closestCommands) // Suggest other close commands - allow missed, wrongly added and // even transposed characters for _, value := range commandsTree.Walk(commandsTree.Root()) { if sort.SearchStrings(closestCommands, value) < len(closestCommands) { continue
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 6.4K bytes - Viewed (0)