types.go
changeset 66 965586c1e3ed
parent 25 9414cadcb717
child 70 fbc089e7249d
--- a/types.go	Tue Apr 11 11:30:23 2017 +0200
+++ b/types.go	Tue Apr 11 11:51:47 2017 +0200
@@ -6,7 +6,7 @@
 
 type Gondole struct {
 	Name   string
-	ID     int64
+	ID     string
 	Secret string
 }
 
@@ -23,7 +23,7 @@
 */
 
 type Account struct {
-	ID          int64
+	ID          string
 	Username    string
 	Acct        string
 	DisplayName string
@@ -43,7 +43,7 @@
 }
 
 type Attachement struct {
-	ID         int64
+	ID         string
 	Type       string
 	URL        string
 	RemoteURL  string
@@ -75,14 +75,14 @@
 }
 
 type Mention struct {
-	ID       int64
+	ID       string
 	URL      string
 	Username string
 	Acct     string
 }
 
 type Notification struct {
-	ID        int64
+	ID        string
 	Type      string
 	CreatedAt time.Time
 	Account   *Account
@@ -108,12 +108,12 @@
 }
 
 type Status struct {
-	ID                 int64
+	ID                 string
 	URI                string
 	URL                string
 	Account            *Account
-	InReplyToId        int64
-	InReplyToAccountID int64
+	InReplyToId        string
+	InReplyToAccountID string
 	Reblog             *Status
 	Content            string
 	CreatedAT          time.Time