mirror of
https://bitbucket.org/skobkin/point-tools-crawler.git
synced 2024-12-05 02:25:53 +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"`
|
Subscribed bool `json:"subscribed"`
|
||||||
Editable bool `json:"editable"`
|
Editable bool `json:"editable"`
|
||||||
Recommended bool `json:"recommended"`
|
Recommended bool `json:"recommended"`
|
||||||
Rec Recommendation `json:"rec"`
|
|
||||||
Post Post `json:"post"`
|
Post Post `json:"post"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,7 @@ type Post struct {
|
||||||
Author User `json:"author"`
|
Author User `json:"author"`
|
||||||
Tags []string `json:"tags"`
|
Tags []string `json:"tags"`
|
||||||
Text string `json:"text"`
|
Text string `json:"text"`
|
||||||
|
Files []string `json:"files"`
|
||||||
CommentsCount int `json:"comments_count"`
|
CommentsCount int `json:"comments_count"`
|
||||||
Created string `json:"created"`
|
Created string `json:"created"`
|
||||||
Pinned bool `json:"pinned"`
|
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