types.go
changeset 236 5b87cc73ed97
parent 232 de13b1d39099
child 239 ca5639b4768e
equal deleted inserted replaced
235:263da7f71f03 236:5b87cc73ed97
   195 
   195 
   196 // Results represents a Mastodon search results entity
   196 // Results represents a Mastodon search results entity
   197 type Results struct {
   197 type Results struct {
   198 	Accounts []Account `json:"accounts"`
   198 	Accounts []Account `json:"accounts"`
   199 	Statuses []Status  `json:"statuses"`
   199 	Statuses []Status  `json:"statuses"`
   200 	Hashtags []string  `json:"hashtags"`
   200 	Hashtags []Tag     `json:"hashtags"`
   201 }
   201 }
   202 
   202 
   203 // Status represents a Mastodon status entity
   203 // Status represents a Mastodon status entity
   204 type Status struct {
   204 type Status struct {
   205 	ID                 int64        `json:"id,string"`
   205 	ID                 int64        `json:"id,string"`