aerc/commands/account
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
..
account.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
cf.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
check-mail.go commands: add check-mail command 2022-08-01 10:37:28 +02:00
clear.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
compose.go compose: parse headers correctly from -H 2022-04-06 15:37:13 +02:00
connection.go statusline: implement per-account status 2022-03-18 23:42:07 +01:00
expand-folder.go commands: add expand-folder and collapse-folder 2022-02-23 21:09:01 +01:00
export-mbox.go lint: ensure errors are at least logged (errcheck) 2022-08-04 21:57:57 +02:00
import-mbox.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
mkdir.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-folder.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next-result.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
next.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
recover.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
rmdir.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
search.go sort: clear sort criteria when called without arguments 2022-07-26 22:24:01 +02:00
select.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
sort.go sort: show warning when sort is not supported 2022-07-26 22:22:58 +02:00
view.go refactor: refactor pgp implementation 2022-04-27 09:46:11 +02:00