point-api-go/post.go

15 lines
436 B
Go
Raw Normal View History

package point
2016-03-29 07:50:49 +00:00
// Post represents the basic post data
type Post struct {
Id string `json:"id"`
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"`
Private bool `json:"private"`
}