types.go
changeset 187 e1b1f4a168b7
parent 186 eb9e257ba50c
child 190 0684ddad598c
equal deleted inserted replaced
186:eb9e257ba50c 187:e1b1f4a168b7
    23 }
    23 }
    24 
    24 
    25 /*
    25 /*
    26 Entities - Everything manipulated/returned by the API
    26 Entities - Everything manipulated/returned by the API
    27 */
    27 */
       
    28 
       
    29 // DomainName is a domain name string, as returned by the domain_blocks API
       
    30 type DomainName string
    28 
    31 
    29 // Account represents a Mastodon account entity
    32 // Account represents a Mastodon account entity
    30 type Account struct {
    33 type Account struct {
    31 	ID             int64     `json:"id"`
    34 	ID             int64     `json:"id"`
    32 	Username       string    `json:"username"`
    35 	Username       string    `json:"username"`