You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
210 B
Go
7 lines
210 B
Go
2 years ago
|
package match
|
||
|
|
||
|
// Match matches two strings
|
||
|
// it is used for comparing a term to the last typed
|
||
|
// word, the prefix, and see if it is a possible auto complete option.
|
||
|
type Match func(term, prefix string) bool
|