about summary refs log tree commit diff stats
path: root/commands
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-07-17 17:50:24 +0200
committerReto Brunner <reto@labrat.space>2020-07-17 17:50:24 +0200
commit8446d486645858b051f829a47716fd329f9743bf (patch)
treed6f441d7481f098409ae07dfdcae44767c4682c5 /commands
parentcc44027545a22fe264c3a928f1645a1479f3ad9f (diff)
downloadaerc-8446d486645858b051f829a47716fd329f9743bf.tar.gz
run go fmt
Diffstat (limited to 'commands')
-rw-r--r--commands/account/clear.go2
-rw-r--r--commands/msg/read.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/commands/account/clear.go b/commands/account/clear.go
index 263b5de..838bfcc 100644
--- a/commands/account/clear.go
+++ b/commands/account/clear.go
@@ -2,8 +2,8 @@ package account
 
 import (
 	"errors"
-	"time"
 	"git.sr.ht/~sircmpwn/aerc/widgets"
+	"time"
 )
 
 type Clear struct{}
diff --git a/commands/msg/read.go b/commands/msg/read.go
index 0888189..325b776 100644
--- a/commands/msg/read.go
+++ b/commands/msg/read.go
@@ -1,9 +1,9 @@
 package msg
 
 import (
+	"fmt"
 	"sync"
 	"time"
-	"fmt"
 
 	"git.sr.ht/~sircmpwn/getopt"
 
@@ -171,7 +171,7 @@ func (FlagMsg) Execute(aerc *widgets.Aerc, args []string) error {
 	go func() {
 		wg.Wait()
 		if success {
-			aerc.PushStatus(actionName + " flag '" + flagName + "' successful", 10*time.Second)
+			aerc.PushStatus(actionName+" flag '"+flagName+"' successful", 10*time.Second)
 		}
 	}()