mirror of
https://bitbucket.org/skobkin/point-api-go.git
synced 2025-02-09 23:35:00 +00:00
15 lines
436 B
Go
15 lines
436 B
Go
package point
|
|
|
|
// 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"`
|
|
}
|