diff options
Diffstat (limited to 'query/query.go')
-rw-r--r-- | query/query.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/query/query.go b/query/query.go index a499ad38..816d6414 100644 --- a/query/query.go +++ b/query/query.go @@ -7,6 +7,7 @@ import "github.com/MichaelMure/git-bug/bug" // manually. This query doesn't do anything by itself and need to be interpreted // for the specific domain of application. type Query struct { + Search Filters OrderBy OrderDirection @@ -20,6 +21,8 @@ func NewQuery() *Query { } } +type Search []string + // Filters is a collection of Filter that implement a complex filter type Filters struct { Status []bug.Status |