# HG changeset patch # User Ollivier Robert # Date 1491422589 -7200 # Node ID 3379b2ff8f4cf09b5aae52e705c64b9cd4a19540 # Parent 9f4ae6d2a9952eec16390e33e75d691be4d4c0cc Does not make any sense to have ID anything else than int64. diff -r 9f4ae6d2a995 -r 3379b2ff8f4c types.go --- a/types.go Wed Apr 05 19:38:50 2017 +0200 +++ b/types.go Wed Apr 05 22:03:09 2017 +0200 @@ -22,7 +22,7 @@ */ type Account struct { - ID int + ID int64 Username string Acct string DisplayName string @@ -42,7 +42,7 @@ } type Attachement struct { - ID int + ID int64 Type string URL string RemoteURL string @@ -74,14 +74,14 @@ } type Mention struct { - ID int + ID int64 URL string Username string Acct string } type Notification struct { - ID int + ID int64 Type string CreatedAt time.Time Account *Account @@ -96,7 +96,7 @@ Requested bool } type Report struct { - ID int + ID int64 ActionTaken string } @@ -107,12 +107,12 @@ } type Status struct { - ID int + ID int64 URI string URL string Account *Account - InReplyToId int - InReplyToAccountID int + InReplyToId int64 + InReplyToAccountID int64 Reblog *Status Content string CreatedAT time.Time