vault/vendor/github.com/posener/complete/match/match.go
Jeff Mitchell 79c47b9433 Bump deps
2017-07-18 10:15:54 -04:00

6 lines
210 B
Go

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