1
0

GODT-213: Add comments for newly added code

This commit is contained in:
James Houlahan
2021-03-25 10:00:08 +01:00
parent 50550d42b4
commit ef6a3d4999
6 changed files with 31 additions and 0 deletions

View File

@ -27,6 +27,7 @@ import (
"github.com/emersion/go-message"
)
// writeCustomTextPart writes an armored-PGP text part for a message body that couldn't be decrypted.
func writeCustomTextPart(
w *message.Writer,
msg *pmapi.Message,
@ -61,6 +62,7 @@ func writeCustomTextPart(
return nil
}
// writeCustomTextPart writes an armored-PGP data part for an attachment that couldn't be decrypted.
func writeCustomAttachmentPart(
w *message.Writer,
att *pmapi.Attachment,