diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-07-31 22:16:40 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-08-01 10:44:52 +0200 |
commit | aaf0a0c65673db4b94c0dc200d7394a192128da1 (patch) | |
tree | 44940936efff55b49a6d359d053f55c7ab824e4d /commands/compose/send.go | |
parent | 21dcd440f877192af128c00ca2acbabf68bb3ee3 (diff) | |
download | aerc-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/compose/send.go')
-rw-r--r-- | commands/compose/send.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/commands/compose/send.go b/commands/compose/send.go index 5448b728..2bd61119 100644 --- a/commands/compose/send.go +++ b/commands/compose/send.go @@ -111,7 +111,7 @@ func (Send) Execute(aerc *widgets.Aerc, args []string) error { var copyBuf bytes.Buffer // for the Sent folder content if CopyTo is set failCh := make(chan error) - //writer + // writer go func() { defer logging.PanicHandler() @@ -144,7 +144,7 @@ func (Send) Execute(aerc *widgets.Aerc, args []string) error { failCh <- sender.Close() }() - //cleanup + copy to sent + // cleanup + copy to sent go func() { defer logging.PanicHandler() @@ -431,7 +431,8 @@ func connectSmtps(host string) (*smtp.Client, error) { } func copyToSent(worker *types.Worker, dest string, - n int, msg io.Reader) <-chan error { + n int, msg io.Reader, +) <-chan error { errCh := make(chan error) worker.PostAction(&types.AppendMessage{ Destination: dest, |