types.go
changeset 175 2541f5050df3
parent 172 1f8ea3aa20e7
child 181 1217aa2a132b
equal deleted inserted replaced
174:349081794232 175:2541f5050df3
    68 }
    68 }
    69 
    69 
    70 // Context represents a Mastodon context entity
    70 // Context represents a Mastodon context entity
    71 type Context struct {
    71 type Context struct {
    72 	Ancestors   []Status `json:"ancestors"`
    72 	Ancestors   []Status `json:"ancestors"`
    73 	Descendents []Status `json:"descendents"`
    73 	Descendants []Status `json:"descendants"`
    74 }
    74 }
    75 
    75 
    76 // Error represents a Mastodon error entity
    76 // Error represents a Mastodon error entity
    77 type Error struct {
    77 type Error struct {
    78 	Text string `json:"error"`
    78 	Text string `json:"error"`