Recommendation deleted. Files array added.

This commit is contained in:
Alexey Skobkin 2016-03-24 21:50:23 +03:00
parent efc59f1a99
commit 0e13e07f72
3 changed files with 1 additions and 8 deletions

View File

@ -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"`
}

View File

@ -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"`

View File

@ -1,7 +0,0 @@
package point
type Recommendation struct {
Text string `json:"text"`
Comment_id int `json:"comment_id"`
Author User `json:"author"`
}