aerc/worker/notmuch
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
..
lib lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
eventhandlers.go notmuch: fix cursor movement in threaded view 2022-07-31 20:02:46 +02:00
events.go lint: remove unused structs and functions (unused) 2022-08-04 21:57:48 +02:00
message.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
worker.go lint: removed unused code (deadcode, structcheck, unused) 2022-08-04 21:58:00 +02:00