13 lines
257 B
Go
Raw Normal View History

package complete
// PredictSet expects specific set of terms, given in the options argument.
func PredictSet(options ...string) Predictor {
return predictSet(options)
}
type predictSet []string
2019-04-10 15:41:22 +02:00
func (p predictSet) Predict(a Args) []string {
return p
}