aboutsummaryrefslogtreecommitdiffstats
path: root/worker/imap/create.go
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-03-18 09:53:02 +0100
committerRobin Jarry <robin@jarry.cc>2022-03-18 13:33:16 +0100
commite30bd324a3552fae3089110d39b61ddced66ddee (patch)
treec1d3ea03094f6781c082b627f04398909ae15234 /worker/imap/create.go
parent62a5ebb1e19aeb36f8451510bc03d5dbe986fb04 (diff)
downloadaerc-e30bd324a3552fae3089110d39b61ddced66ddee.tar.gz
go vet: composite literal uses unkeyed fields
This commit fixes all occurrences of the abovementioned lint-error in the codebase. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/imap/create.go')
-rw-r--r--worker/imap/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/imap/create.go b/worker/imap/create.go
index 4cc5c5ac..5bac0017 100644
--- a/worker/imap/create.go
+++ b/worker/imap/create.go
@@ -14,6 +14,6 @@ func (imapw *IMAPWorker) handleCreateDirectory(msg *types.CreateDirectory) {
Error: err,
}, nil)
} else {
- imapw.worker.PostMessage(&types.Done{types.RespondTo(msg)}, nil)
+ imapw.worker.PostMessage(&types.Done{Message: types.RespondTo(msg)}, nil)
}
}