Begin to fill in types.
authorOllivier Robert <roberto@keltia.net>
Wed, 05 Apr 2017 16:35:04 +0200
changeset 16 9d64e00d3ea6
parent 15 33bf01fc53d0
child 17 9f17ef336aad
Begin to fill in types.
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
 }
-