/
user.go
55 lines (46 loc) · 1.88 KB
/
user.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package trailer
type User struct {
Id uint64 `json:"id"`
ScreenName string `json:"screen_name"`
Name string `json:"name"`
Description string `json:"description"`
Url string `json:"url"`
StatusesCount uint64 `json:"statuses_count"`
FriendsCount uint64 `json:"friends_count"`
FollowersCount uint64 `json:"followers_count"`
FavoritesCount uint64 `json:"favourites_count"`
ListedCount uint64 `json:"listed_count"`
Verified bool `json:"verified"`
IsTranslator bool `json:"is_translator"`
IsTranslatorEnabled bool `json:"is_translation_enabled"`
ProfileImageUrl string `json:"profile_image_url"`
ProfileImageUrlHttps string `json:"profile_image_url_https"`
DefaultProfileImage bool `json:"default_profile_image"`
ProfileBackgroundImageUrl string `json:"profile_background_image_url"`
ProfileBackgroundImageUrlHttps string `json:"profile_background_image_url_https"`
ProfileBackgroundTile bool `json:"profile_background_tile"`
ProfileBackgroundColor string `json:"profile_background_color"`
ProfileUseBackgroundImage bool `json:"profile_use_background_image"`
ProfileLinkColor string `json:"profile_link_color"`
ProfileTextColor string `json:"profile_text_color"`
ProfileSidebarBorderColor string `json:"profile_sidebar_border_color"`
ProfileSidebarFillColor string `json:"profile_sidebar_fill_color"`
DefaultProfile bool `json:"default_profile"`
}
/*
var (
User = map[string]interface{}{
"created_at": "Sat Jun 06 11:34:55 +0000 2009",
"contributors_enabled": bool(false),
"following": nil,
"lang": "ja",
"utc_offset": float64(32400),
"time_zone": "Tokyo",
"geo_enabled": bool(false),
"follow_request_sent": nil,
"notifications": nil,
"location": "",
"protected": bool(false),
}
)
*/