diff options
author | Michael Muré <batolettre@gmail.com> | 2021-02-27 20:31:10 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2021-02-27 20:31:10 +0100 |
commit | fab626a7a663a8fa6ef27848bb63e91af812ab8c (patch) | |
tree | c0d7c4f0cfe23044af8eee72dd3d1eee34801bb5 /query/query.go | |
parent | cb61245078a0e8f14e359ed20e0582a695645a08 (diff) | |
download | git-bug-fab626a7a663a8fa6ef27848bb63e91af812ab8c.tar.gz |
query: refactor to reuse the split function for both query and token
Diffstat (limited to 'query/query.go')
-rw-r--r-- | query/query.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/query/query.go b/query/query.go index 3a2321cf..cce61a54 100644 --- a/query/query.go +++ b/query/query.go @@ -23,9 +23,9 @@ func NewQuery() *Query { type Search []string -// Used for key-value pairs when filtering based on metadata +// StringPair is a key/value pair of strings type StringPair struct { - Key string + Key string Value string } |