equal
deleted
inserted
replaced
20 |
20 |
21 Everything manipulated/returned by the API |
21 Everything manipulated/returned by the API |
22 */ |
22 */ |
23 |
23 |
24 type Account struct { |
24 type Account struct { |
25 ID int |
25 ID int64 |
26 Username string |
26 Username string |
27 Acct string |
27 Acct string |
28 DisplayName string |
28 DisplayName string |
29 Note string |
29 Note string |
30 URL string |
30 URL string |
40 Name string |
40 Name string |
41 Website string |
41 Website string |
42 } |
42 } |
43 |
43 |
44 type Attachement struct { |
44 type Attachement struct { |
45 ID int |
45 ID int64 |
46 Type string |
46 Type string |
47 URL string |
47 URL string |
48 RemoteURL string |
48 RemoteURL string |
49 PreviewURL string |
49 PreviewURL string |
50 TextURL string |
50 TextURL string |
72 Description string |
72 Description string |
73 Email string |
73 Email string |
74 } |
74 } |
75 |
75 |
76 type Mention struct { |
76 type Mention struct { |
77 ID int |
77 ID int64 |
78 URL string |
78 URL string |
79 Username string |
79 Username string |
80 Acct string |
80 Acct string |
81 } |
81 } |
82 |
82 |
83 type Notification struct { |
83 type Notification struct { |
84 ID int |
84 ID int64 |
85 Type string |
85 Type string |
86 CreatedAt time.Time |
86 CreatedAt time.Time |
87 Account *Account |
87 Account *Account |
88 Status *Status |
88 Status *Status |
89 } |
89 } |
94 Blocking bool |
94 Blocking bool |
95 Muting bool |
95 Muting bool |
96 Requested bool |
96 Requested bool |
97 } |
97 } |
98 type Report struct { |
98 type Report struct { |
99 ID int |
99 ID int64 |
100 ActionTaken string |
100 ActionTaken string |
101 } |
101 } |
102 |
102 |
103 type Result struct { |
103 type Result struct { |
104 Accounts []Account |
104 Accounts []Account |
105 Statutes []Status |
105 Statutes []Status |
106 Hashtags []Tag |
106 Hashtags []Tag |
107 } |
107 } |
108 |
108 |
109 type Status struct { |
109 type Status struct { |
110 ID int |
110 ID int64 |
111 URI string |
111 URI string |
112 URL string |
112 URL string |
113 Account *Account |
113 Account *Account |
114 InReplyToId int |
114 InReplyToId int64 |
115 InReplyToAccountID int |
115 InReplyToAccountID int64 |
116 Reblog *Status |
116 Reblog *Status |
117 Content string |
117 Content string |
118 CreatedAT time.Time |
118 CreatedAT time.Time |
119 Reblogs int |
119 Reblogs int |
120 Favourites int |
120 Favourites int |