terraform-provider-gitea/vendor/github.com/posener/complete/predict_set.go

13 lines
257 B
Go
Raw Normal View History

2022-04-03 04:07:16 +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
}