mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-01-10 11:00:21 -05:00
This takes care of filtering results for us, so we don't need to do it on our end anymore.
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
|
|
}
|