mirror of
https://github.com/safing/portbase
synced 2026-04-28 11:50:02 +00:00
Fix linter errors
This commit is contained in:
parent
5accaad794
commit
3c697abd5b
9 changed files with 95 additions and 98 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue