golint & go vet

This commit is contained in:
Yasuhiro Matsumoto 2017-04-16 23:38:53 +09:00
parent e1b7bac4e6
commit 70b6261e34
6 changed files with 9 additions and 7 deletions

View file

@ -33,8 +33,8 @@ type Status struct {
// Context hold information for mastodon context.
type Context struct {
Ancestors []*Status `ancestors`
Descendants []*Status `descendants`
Ancestors []*Status `json:"ancestors"`
Descendants []*Status `json:"descendants"`
}
// Card hold information for mastodon card.