aerc/widgets
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-wizard.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
account.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
aerc.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
authinfo.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
compose.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
dirlist.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
dirtree.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
exline.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
getpasswd.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
headerlayout.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
msglist.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
msgviewer.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
pgpinfo.go lint: remove ineffectual assignments (ineffassign) 2022-08-04 21:57:50 +02:00
providesmessage.go msgviewer: open http links from messages 2022-06-14 22:12:48 +02:00
scrollable.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
selector.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
spinner.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
status.go uiconfig: use pointer references to uiConfig 2022-07-03 21:32:18 +02:00
tabhost.go Implement style configuration. 2020-08-06 21:42:06 +02:00
terminal.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00