Fix linter errors

This commit is contained in:
Daniel 2022-09-28 22:37:54 +02:00
parent 5accaad794
commit 3c697abd5b
9 changed files with 95 additions and 98 deletions

View file

@ -14,6 +14,7 @@ type snippet struct {
}
// ParseQuery parses a plaintext query. Special characters (that must be escaped with a '\') are: `\()` and any whitespaces.
//
//nolint:gocognit
func ParseQuery(query string) (*Query, error) {
snippets, err := extractSnippets(query)