aerc/worker
Moritz Poldrack 978d35d356 lint: homogenize operations and minor fixes (gocritic)
Apply GoDoc comment policy (comments for humans should have a space
after the //; machine-readable comments shouldn't)

Use strings.ReplaceAll instead of strings.Replace when appropriate

Remove if/else chains by replacing them with switches

Use short assignment/increment notation

Replace single case switches with if statements

Combine else and if when appropriate

Signed-off-by: Moritz Poldrack <moritz@poldrack.dev>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-08-04 21:58:01 +02:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
lib lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
maildir lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
mbox lint: ensure errors are at least logged (errcheck) 2022-08-04 21:57:57 +02:00
notmuch lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
types lint: ensure errors are at least logged (errcheck) 2022-08-04 21:57:57 +02:00
handler_notmuch.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
worker.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
worker_enabled.go mbox: implement an mbox backend worker 2022-07-14 23:14:45 +02:00