2018-05-27 22:40:42 +08:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
type comment struct {
|
|
|
|
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"`
|
2018-06-07 15:38:44 +08:00
|
|
|
State string `json:"state"`
|
2018-05-27 22:40:42 +08:00
|
|
|
CreationDate time.Time `json:"creationDate"`
|
2018-06-07 15:39:53 +08:00
|
|
|
Direction int `json:"direction"`
|
2018-05-27 22:40:42 +08:00
|
|
|
}
|