mirror of
https://bitbucket.org/skobkin/point-tools-crawler.git
synced 2024-10-13 04:13:13 +00:00
Recommendation deleted. Files array added.
This commit is contained in:
parent
efc59f1a99
commit
0e13e07f72
|
@ -6,6 +6,5 @@ type MetaPost struct {
|
|||
Subscribed bool `json:"subscribed"`
|
||||
Editable bool `json:"editable"`
|
||||
Recommended bool `json:"recommended"`
|
||||
Rec Recommendation `json:"rec"`
|
||||
Post Post `json:"post"`
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ type Post struct {
|
|||
Author User `json:"author"`
|
||||
Tags []string `json:"tags"`
|
||||
Text string `json:"text"`
|
||||
Files []string `json:"files"`
|
||||
CommentsCount int `json:"comments_count"`
|
||||
Created string `json:"created"`
|
||||
Pinned bool `json:"pinned"`
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
package point
|
||||
|
||||
type Recommendation struct {
|
||||
Text string `json:"text"`
|
||||
Comment_id int `json:"comment_id"`
|
||||
Author User `json:"author"`
|
||||
}
|
Loading…
Reference in a new issue