forked from boyska/circolog
18 lines
278 B
Go
18 lines
278 B
Go
|
// +build nofilter
|
||
|
|
||
|
package filtering
|
||
|
|
||
|
type ExprValue struct {
|
||
|
}
|
||
|
|
||
|
func (e *ExprValue) String() string {
|
||
|
return "<filtering disabled>"
|
||
|
}
|
||
|
|
||
|
func (e *ExprValue) Set(value string) error {
|
||
|
return nil
|
||
|
}
|
||
|
func (e *ExprValue) Validate(line map[string]interface{}) bool {
|
||
|
return true
|
||
|
}
|