filter_fake.go 278 B

1234567891011121314151617
  1. // +build nofilter
  2. package filtering
  3. type ExprValue struct {
  4. }
  5. func (e *ExprValue) String() string {
  6. return "<filtering disabled>"
  7. }
  8. func (e *ExprValue) Set(value string) error {
  9. return nil
  10. }
  11. func (e *ExprValue) Validate(line map[string]interface{}) bool {
  12. return true
  13. }