aerc/commands/msg
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
..
archive.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
copy.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
delete.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
forward.go lint: ensure errors are at least logged (errcheck) 2022-08-04 21:57:57 +02:00
invite.go lint: ensure errors are at least logged (errcheck) 2022-08-04 21:57:57 +02:00
mark.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
modify-labels.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
move.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
msg.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
pipe.go lint: ensure errors are at least logged (errcheck) 2022-08-04 21:57:57 +02:00
read.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
recall.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
reply.go lint: ensure errors are at least logged (errcheck) 2022-08-04 21:57:57 +02:00
toggle-threads.go msgstore: implement a uid-based architecture 2022-07-26 11:34:19 +02:00
unsubscribe.go lint: remove redundant returns (S1023) 2022-08-04 21:57:45 +02:00
unsubscribe_test.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
utils.go tabs: rename SelectedTab to SelectedTabContent 2022-07-23 22:00:21 +02:00