aboutsummaryrefslogtreecommitdiffstats
path: root/worker/notmuch/message.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/notmuch/message.go')
-rw-r--r--worker/notmuch/message.go12
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})
}