mirror of
https://bitbucket.org/skobkin/point-tools-crawler.git
synced 2024-12-04 18:25:52 +00:00
post.go tag array definition fix.
This commit is contained in:
parent
702be5ea72
commit
1a46963be9
|
@ -1,12 +1,12 @@
|
||||||
package point
|
package point
|
||||||
|
|
||||||
type Post struct {
|
type Post struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
Author User `json:"author"`
|
Author User `json:"author"`
|
||||||
Tags [10]string `json:"tags"`
|
Tags []string `json:"tags"`
|
||||||
Text string `json:"text"`
|
Text string `json:"text"`
|
||||||
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"`
|
||||||
Private bool `json:"private"`
|
Private bool `json:"private"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue