equal
deleted
inserted
replaced
26 Entities - Everything manipulated/returned by the API |
26 Entities - Everything manipulated/returned by the API |
27 */ |
27 */ |
28 |
28 |
29 // DomainName is a domain name string, as returned by the domain_blocks API |
29 // DomainName is a domain name string, as returned by the domain_blocks API |
30 type DomainName string |
30 type DomainName string |
|
31 |
|
32 // InstancePeer is a peer name, as returned by the instance/peers API |
|
33 type InstancePeer string |
31 |
34 |
32 // Account represents a Mastodon account entity |
35 // Account represents a Mastodon account entity |
33 type Account struct { |
36 type Account struct { |
34 ID int64 `json:"id,string"` |
37 ID int64 `json:"id,string"` |
35 Username string `json:"username"` |
38 Username string `json:"username"` |