diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-07-31 22:16:40 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-08-01 10:44:52 +0200 |
commit | aaf0a0c65673db4b94c0dc200d7394a192128da1 (patch) | |
tree | 44940936efff55b49a6d359d053f55c7ab824e4d /worker/lib/search.go | |
parent | 21dcd440f877192af128c00ca2acbabf68bb3ee3 (diff) | |
download | aerc-aaf0a0c65673db4b94c0dc200d7394a192128da1.tar.gz |
lint: apply new formatting rules
Run `make fmt`.
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/lib/search.go')
-rw-r--r-- | worker/lib/search.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/worker/lib/search.go b/worker/lib/search.go index c7d3bee7..dc29a66f 100644 --- a/worker/lib/search.go +++ b/worker/lib/search.go @@ -97,8 +97,8 @@ func Search(messages []RawMessage, criteria *searchCriteria) ([]uint32, error) { // searchMessage executes the search criteria for the given RawMessage, // returns true if search succeeded func searchMessage(message RawMessage, criteria *searchCriteria, - parts MsgParts) (bool, error) { - + parts MsgParts, +) (bool, error) { // setup parts of the message to use in the search // this is so that we try to minimise reading unnecessary parts var ( |