diff options
author | xuri <xuri.me@gmail.com> | 2018-09-14 00:24:49 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2018-09-14 00:24:49 +0800 |
commit | 6ced438f39030e8a9a521548d4112dd002dc2ebe (patch) | |
tree | ef5f2d12a849d68085a7286a2b983f3ad4369d11 /xmlComments.go | |
parent | 4f47737d64fc9d9108675cbc1e73ae93c2d723a9 (diff) |
New function `AddPictureFromBytes()` has been added, this resolve #259 and close #271.
Diffstat (limited to 'xmlComments.go')
-rw-r--r-- | xmlComments.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xmlComments.go b/xmlComments.go index 08d85c1..1607506 100644 --- a/xmlComments.go +++ b/xmlComments.go @@ -61,3 +61,11 @@ type formatComment struct { Author string `json:"author"` Text string `json:"text"` } + +// Comment directly maps the comment information. +type Comment struct { + Author string `json:"author"` + AuthorID int `json:"author_id"` + Ref string `json:"ref"` + Text string `json:"text"` +} |