diff options
Diffstat (limited to 'vendor/github.com/posener/complete/match/match.go')
-rw-r--r-- | vendor/github.com/posener/complete/match/match.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/posener/complete/match/match.go b/vendor/github.com/posener/complete/match/match.go new file mode 100644 index 0000000..812fcac --- /dev/null +++ b/vendor/github.com/posener/complete/match/match.go | |||
@@ -0,0 +1,6 @@ | |||
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 | ||