diff options
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"` +} | 
