route/vendor/github.com/posener/complete/predict_set.go

13 lines
257 B
Go
Raw Normal View History

2017-12-02 23:34:35 +00:00
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
}