equal
deleted
inserted
replaced
1 package gondole |
1 package gondole |
2 |
2 |
|
3 import "time" |
|
4 |
3 type Gondole struct { |
5 type Gondole struct { |
4 |
6 Name string |
|
7 RedirectURI string |
5 } |
8 } |
6 |
9 |
7 type Account struct { |
10 type Account struct { |
8 |
11 ID int |
|
12 Acct string |
|
13 Avatar string |
|
14 Followers int |
|
15 Followings int |
|
16 Header string |
|
17 Note string |
|
18 Statuses int |
|
19 URL string |
|
20 Username string |
9 } |
21 } |
10 |
22 |
11 type Client struct { |
23 type Client struct { |
12 |
24 BaseURL string |
|
25 BearerToken string |
13 } |
26 } |
14 |
27 |
15 type Status struct { |
28 type Status struct { |
16 |
29 ID int |
|
30 Account *Account |
|
31 Content string |
|
32 CreatedAT time.Time |
|
33 Favourited bool |
|
34 Favourites int |
|
35 InReplyTo int |
|
36 Reblog *Status |
|
37 Reblogged bool |
|
38 Reblogs int |
|
39 URI string |
|
40 URL string |
17 } |
41 } |
18 |
|