liuxiaolong
2020-09-16 83055166cfa596ef6a91cbb1fdbde40c1c7298a0
1
2
3
4
5
6
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