13 lines
257 B
Go
13 lines
257 B
Go
|
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
|
||
|
}
|