complete/match/match.go

7 lines
210 B
Go
Raw Normal View History

2017-05-07 11:53:55 -05:00
package match
2017-05-11 12:48:40 -05:00
// 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