fix(style): simplify assignments

This commit is contained in:
Łukasz Mierzwa
2018-08-11 08:31:18 +01:00
parent fb17ed7e31
commit 64f072b7d2
+3 -3
View File
@@ -86,9 +86,9 @@ func NewFilter(expression string) FilterT {
}
}
matched, _ := result["matched"]
operator, _ := result["operator"]
value, _ := result["value"]
matched := result["matched"]
operator := result["operator"]
value := result["value"]
if matched == "" && operator == "" && value == "" {
// no "filter=" part, just the value, use fuzzy filter