From 1a46963be9c405b9bbc5a3c5e68c54633596b5e7 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 22 Mar 2016 22:47:37 +0300 Subject: [PATCH] post.go tag array definition fix. --- point/post.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/point/post.go b/point/post.go index 28922ad..6328363 100644 --- a/point/post.go +++ b/point/post.go @@ -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"` }