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/notmuch/message.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/notmuch/message.go')
-rw-r--r-- | worker/notmuch/message.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/worker/notmuch/message.go b/worker/notmuch/message.go index e39fb17a..fe82700e 100644 --- a/worker/notmuch/message.go +++ b/worker/notmuch/message.go @@ -160,16 +160,16 @@ func (m *Message) Filename() (string, error) { return m.db.MsgFilename(m.key) } -//AddTag adds a single tag. -//Consider using *Message.ModifyTags for multiple additions / removals -//instead of looping over a tag array +// AddTag adds a single tag. +// Consider using *Message.ModifyTags for multiple additions / removals +// instead of looping over a tag array func (m *Message) AddTag(tag string) error { return m.ModifyTags([]string{tag}, nil) } -//RemoveTag removes a single tag. -//Consider using *Message.ModifyTags for multiple additions / removals -//instead of looping over a tag array +// RemoveTag removes a single tag. +// Consider using *Message.ModifyTags for multiple additions / removals +// instead of looping over a tag array func (m *Message) RemoveTag(tag string) error { return m.ModifyTags(nil, []string{tag}) } |