--- 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
}
-