aboutsummaryrefslogtreecommitdiffstats
path: root/cache/filter.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache/filter.go')
-rw-r--r--cache/filter.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cache/filter.go b/cache/filter.go
index 021962a7..166cd48d 100644
--- a/cache/filter.go
+++ b/cache/filter.go
@@ -5,7 +5,7 @@ import (
"github.com/MichaelMure/git-bug/bug"
"github.com/MichaelMure/git-bug/entity"
- "github.com/MichaelMure/git-bug/query/ast"
+ "github.com/MichaelMure/git-bug/query"
)
// resolver has the resolving functions needed by filters.
@@ -123,9 +123,9 @@ type Matcher struct {
NoFilters []Filter
}
-// compileMatcher transform an ast.Filters into a specialized matcher
+// compileMatcher transform a query.Filters into a specialized matcher
// for the cache.
-func compileMatcher(filters ast.Filters) *Matcher {
+func compileMatcher(filters query.Filters) *Matcher {
result := &Matcher{}
for _, value := range filters.Status {