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 /worker/mbox/worker.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 'worker/mbox/worker.go')
-rw-r--r-- | worker/mbox/worker.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/worker/mbox/worker.go b/worker/mbox/worker.go index 4c0a1271..6ba886ae 100644 --- a/worker/mbox/worker.go +++ b/worker/mbox/worker.go @@ -99,7 +99,8 @@ func (w *mboxWorker) handleMessage(msg types.WorkerMessage) error { if !ok { w.folder = w.data.Create(w.name) w.worker.PostMessage(&types.Done{ - Message: types.RespondTo(&types.CreateDirectory{})}, nil) + Message: types.RespondTo(&types.CreateDirectory{}), + }, nil) } w.worker.PostMessage(&types.DirectoryInfo{ Info: w.data.DirectoryInfo(msg.Directory), @@ -338,7 +339,8 @@ func (w *mboxWorker) handleMessage(msg types.WorkerMessage) error { if !ok { folder = w.data.Create(msg.Destination) w.worker.PostMessage(&types.Done{ - Message: types.RespondTo(&types.CreateDirectory{})}, nil) + Message: types.RespondTo(&types.CreateDirectory{}), + }, nil) } if err := folder.Append(msg.Reader, msg.Flags); err != nil { |