Fixed megacheck linter complaints

This commit is contained in:
2018-06-30 16:50:53 +09:00
parent 1580e290e8
commit 3a46507196
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ func GetPostsByUser(ctx *aero.Context) string {
posts = posts[:postLimit]
}
postables = make([]arn.Postable, len(posts), len(posts))
postables = make([]arn.Postable, len(posts))
for i, post := range posts {
postables[i] = arn.ToPostable(post)