2018-05-27 22:40:42 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
type comment struct {
|
2018-06-11 01:43:42 +08:00
|
|
|
CommentHex string `json:"commentHex"`
|
|
|
|
Domain string `json:"domain,omitempty"`
|
|
|
|
Path string `json:"url,omitempty"`
|
|
|
|
CommenterHex string `json:"commenterHex"`
|
|
|
|
Markdown string `json:"markdown"`
|
|
|
|
Html string `json:"html"`
|
|
|
|
ParentHex string `json:"parentHex"`
|
|
|
|
Score int `json:"score"`
|
2019-05-02 07:57:18 +08:00
|
|
|
State string `json:"state,omitempty"`
|
2018-06-11 01:43:42 +08:00
|
|
|
CreationDate time.Time `json:"creationDate"`
|
|
|
|
Direction int `json:"direction"`
|
2019-09-14 09:13:38 +08:00
|
|
|
Deleted bool `json:"deleted"`
|
2018-05-27 22:40:42 +08:00
|
|
|
}
|