github.com/Arneball/complete@v1.1.2/predict_set.go (about) 1 package complete 2 3 // PredictSet expects specific set of terms, given in the options argument. 4 func PredictSet(options ...string) Predictor { 5 return predictSet(options) 6 } 7 8 type predictSet []string 9 10 func (p predictSet) Predict(a Args) []string { 11 return p 12 }