validator/validator.go (3 lines of code) (raw):

package validator import "github.com/elastic/go-lookslike/llresult" // Validator is the result of Compile and is run against the map you'd like to test. type Validator func(interface{}) *llresult.Results