# HG changeset patch # User Ollivier Robert # Date 1491402904 -7200 # Node ID 9d64e00d3ea6a1fbac7685fdb96f127b3c17aab9 # Parent 33bf01fc53d0dcc037c64306f7d6c962575f0104 Begin to fill in types. diff -r 33bf01fc53d0 -r 9d64e00d3ea6 types.go --- a/types.go Wed Apr 05 16:34:49 2017 +0200 +++ b/types.go Wed Apr 05 16:35:04 2017 +0200 @@ -1,18 +1,41 @@ package gondole +import "time" + type Gondole struct { - + Name string + RedirectURI string } type Account struct { - + ID int + Acct string + Avatar string + Followers int + Followings int + Header string + Note string + Statuses int + URL string + Username string } type Client struct { - + BaseURL string + BearerToken string } type Status struct { - + ID int + Account *Account + Content string + CreatedAT time.Time + Favourited bool + Favourites int + InReplyTo int + Reblog *Status + Reblogged bool + Reblogs int + URI string + URL string } -