github.com/vlad2095/complete@v1.1.2/match/match.go (about) 1 package match 2 3 // Match matches two strings 4 // it is used for comparing a term to the last typed 5 // word, the prefix, and see if it is a possible auto complete option. 6 type Match func(term, prefix string) bool