mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-02 05:15:44 +00:00
15 lines
227 B
Go
15 lines
227 B
Go
package query
|
|
|
|
// Empty query matches any set of tags.
|
|
type Empty struct {
|
|
}
|
|
|
|
// Matches always returns true.
|
|
func (Empty) Matches(tags map[string]string) bool {
|
|
return true
|
|
}
|
|
|
|
func (Empty) String() string {
|
|
return "empty"
|
|
}
|