mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-29 08:42:14 +00:00
15 lines
232 B
Go
15 lines
232 B
Go
|
package query
|
||
|
|
||
|
// Empty query matches any set of tags.
|
||
|
type Empty struct {
|
||
|
}
|
||
|
|
||
|
// Matches always returns true.
|
||
|
func (Empty) Matches(tags map[string]interface{}) bool {
|
||
|
return true
|
||
|
}
|
||
|
|
||
|
func (Empty) String() string {
|
||
|
return "empty"
|
||
|
}
|