From b285c57dc62caac2c1f09e74eeece406b0e7cc00 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Thu, 20 Aug 2020 12:00:34 +0200 Subject: query: expand the tokenizer/parser to parse arbitrary search terms --- query/query.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'query/query.go') 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 -- cgit