aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/posener/complete/predict_set.go
blob: fa4a34ae46b5d35b389903c4d4b5e352607c7636 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package complete

// PredictSet expects specific set of terms, given in the options argument.
func PredictSet(options ...string) Predictor {
	return predictSet(options)
}

type predictSet []string

func (p predictSet) Predict(a Args) []string {
	return p
}