aboutsummaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorLeszek CimaƂa <ernierasta@zori.cz>2020-01-08 21:44:14 +0100
committerDrew DeVault <sir@cmpwn.com>2020-01-09 14:31:19 -0500
commitbf28e23933a9808820ef4855257accf4634068e9 (patch)
treed09d522d0f48d6f3e1013f5f7197e64636e51e99 /models
parentda6fb1a1551767609e1d5a97631bdaffdc301f4c (diff)
create OriginalMail struct
Diffstat (limited to 'models')
-rw-r--r--models/models.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index 036a609..7c3c192 100644
--- a/models/models.go
+++ b/models/models.go
@@ -164,3 +164,10 @@ func FormatAddresses(addrs []*Address) string {
}
return val.String()
}
+
+// OriginalMail is helper struct used for reply/forward
+type OriginalMail struct {
+ Date string
+ From string
+ Text string
+}