summary refs log tree commit diff stats
path: root/commands/compose/send.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-18 15:34:16 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-18 15:34:16 -0400
commitca2cd00fe75863002145afcbfad1fe03f6258cfc (patch)
tree6699de430d93fddf3a682f838af0f4c81c1dcaba /commands/compose/send.go
parentb8208509f47301bcb03bc222f5e5765833478250 (diff)
downloadaerc-ca2cd00fe75863002145afcbfad1fe03f6258cfc.tar.gz
Fix scdoc & gofmt issues
Diffstat (limited to 'commands/compose/send.go')
-rw-r--r--commands/compose/send.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/compose/send.go b/commands/compose/send.go
index 51ae4ce..02fc272 100644
--- a/commands/compose/send.go
+++ b/commands/compose/send.go
@@ -174,10 +174,10 @@ func SendMessage(aerc *widgets.Aerc, args []string) error {
 			r, w := io.Pipe()
 			worker.PostAction(&types.AppendMessage{
 				Destination: config.CopyTo,
-				Flags: []string{},
-				Date: time.Now(),
-				Reader: r,
-				Length: nbytes,
+				Flags:       []string{},
+				Date:        time.Now(),
+				Reader:      r,
+				Length:      nbytes,
 			}, func(msg types.WorkerMessage) {
 				switch msg := msg.(type) {
 				case *types.Done: