post.go tag array definition fix.

This commit is contained in:
Alexey Skobkin 2016-03-22 22:47:37 +03:00
parent 702be5ea72
commit 1a46963be9
1 changed files with 8 additions and 8 deletions

View File

@ -1,12 +1,12 @@
package point
type Post struct {
Id string `json:"id"`
Author User `json:"author"`
Tags [10]string `json:"tags"`
Text string `json:"text"`
CommentsCount int `json:"comments_count"`
Created string `json:"created"`
Pinned bool `json:"pinned"`
Private bool `json:"private"`
Id string `json:"id"`
Author User `json:"author"`
Tags []string `json:"tags"`
Text string `json:"text"`
CommentsCount int `json:"comments_count"`
Created string `json:"created"`
Pinned bool `json:"pinned"`
Private bool `json:"private"`
}