github.com/linux4life798/complete@v1.1.2-0.20180410072631-7426158f3bcb/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