aboutsummaryrefslogtreecommitdiffstats
path: root/commands/account
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-07-31 22:16:40 +0200
committerRobin Jarry <robin@jarry.cc>2022-08-01 10:44:52 +0200
commitaaf0a0c65673db4b94c0dc200d7394a192128da1 (patch)
tree44940936efff55b49a6d359d053f55c7ab824e4d /commands/account
parent21dcd440f877192af128c00ca2acbabf68bb3ee3 (diff)
downloadaerc-aaf0a0c65673db4b94c0dc200d7394a192128da1.tar.gz
lint: apply new formatting rules
Run `make fmt`. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/account')
-rw-r--r--commands/account/account.go4
-rw-r--r--commands/account/cf.go4
2 files changed, 2 insertions, 6 deletions
diff --git a/commands/account/account.go b/commands/account/account.go
index 4731c19a..fc17fa2d 100644
--- a/commands/account/account.go
+++ b/commands/account/account.go
@@ -4,9 +4,7 @@ import (
"git.sr.ht/~rjarry/aerc/commands"
)
-var (
- AccountCommands *commands.Commands
-)
+var AccountCommands *commands.Commands
func register(cmd commands.Command) {
if AccountCommands == nil {
diff --git a/commands/account/cf.go b/commands/account/cf.go
index b5cda53f..39b0bb89 100644
--- a/commands/account/cf.go
+++ b/commands/account/cf.go
@@ -9,9 +9,7 @@ import (
"git.sr.ht/~rjarry/aerc/widgets"
)
-var (
- history map[string]string
-)
+var history map[string]string
type ChangeFolder struct{}