# HG changeset patch # User Mikael Berthe # Date 1492435365 -7200 # Node ID 0085bcfc1131453d0ee030033b81e1390ed5e28b # Parent 639bbcddb4fe0c0d6910c951b14cc8bbc7b10fd2 Add ID to the Relationship structure Missing from the API documentation.) diff -r 639bbcddb4fe -r 0085bcfc1131 types.go --- a/types.go Mon Apr 17 12:15:50 2017 +0200 +++ b/types.go Mon Apr 17 15:22:45 2017 +0200 @@ -107,6 +107,7 @@ // Relationship represents a Mastodon relationship entity type Relationship struct { + ID int `json:"id"` Following bool `json:"following"` FollowedBy bool `json:"followed_by"` Blocking bool `json:"blocking"`