aboutsummaryrefslogtreecommitdiffstats
path: root/query
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-08-18 23:34:05 +0200
committerMichael Muré <batolettre@gmail.com>2022-08-18 23:44:06 +0200
commit5511c230b678a181cc596238bf6669428d1b1902 (patch)
tree8701efc87732439f993eb4f1d00585fc419b87ab /query
parent5ca686b59751e3c87740b84108c54fc675a074cf (diff)
downloadgit-bug-5511c230b678a181cc596238bf6669428d1b1902.tar.gz
move {bug,identity} to /entities, move input to /commands
Diffstat (limited to 'query')
-rw-r--r--query/parser.go2
-rw-r--r--query/parser_test.go2
-rw-r--r--query/query.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/query/parser.go b/query/parser.go
index 6fd5cd74..68eda6bb 100644
--- a/query/parser.go
+++ b/query/parser.go
@@ -3,7 +3,7 @@ package query
import (
"fmt"
- "github.com/MichaelMure/git-bug/bug"
+ "github.com/MichaelMure/git-bug/entities/bug"
)
// Parse parse a query DSL
diff --git a/query/parser_test.go b/query/parser_test.go
index f71a7b42..d07f8514 100644
--- a/query/parser_test.go
+++ b/query/parser_test.go
@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/require"
- "github.com/MichaelMure/git-bug/bug"
+ "github.com/MichaelMure/git-bug/entities/bug"
)
func TestParse(t *testing.T) {
diff --git a/query/query.go b/query/query.go
index cce61a54..db507499 100644
--- a/query/query.go
+++ b/query/query.go
@@ -1,6 +1,6 @@
package query
-import "github.com/MichaelMure/git-bug/bug"
+import "github.com/MichaelMure/git-bug/entities/bug"
// Query is the intermediary representation of a Bug's query. It is either
// produced by parsing a query string (ex: "status:open author:rene") or created