1
0
mirror of https://github.com/TomWright/dasel.git synced 2022-05-22 02:32:45 +03:00
Files
dasel-data-selector/condition.go
Tom Wright 9eb8a5ab6e Search selector (#43)
Implement search selector
2020-11-16 22:44:28 +00:00

11 lines
175 B
Go

package dasel
import (
"reflect"
)
// Condition defines a Check we can use within dynamic selectors.
type Condition interface {
Check(other reflect.Value) (bool, error)
}