liuxiaolong
2020-09-16 b04c3b2bf52d57550e8bfdc7f09859962b7c1396
1
2
3
4
5
6
7
8
9
10
11
12
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
}