-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Entities to user objects to get full URL.
Signed-off-by: aditya <dev@chimeracoder.net>
- Loading branch information
1 parent
3cabcf6
commit 38af19f
Showing
2 changed files
with
50 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,44 @@ | ||
package anaconda | ||
|
||
type User struct { | ||
ContributorsEnabled bool `json:"contributors_enabled"` | ||
CreatedAt string `json:"created_at"` | ||
DefaultProfile bool `json:"default_profile"` | ||
DefaultProfileImage bool `json:"default_profile_image"` | ||
Description string `json:"description"` | ||
FavouritesCount int `json:"favourites_count"` | ||
FollowRequestSent bool `json:"follow_request_sent"` | ||
FollowersCount int `json:"followers_count"` | ||
Following bool `json:"following"` | ||
FriendsCount int `json:"friends_count"` | ||
GeoEnabled bool `json:"geo_enabled"` | ||
Id int64 `json:"id"` | ||
IdStr string `json:"id_str"` | ||
IsTranslator bool `json:"is_translator"` | ||
Lang string `json:"lang"` | ||
ListedCount int64 `json:"listed_count"` | ||
Location string `json:"location"` | ||
Name string `json:"name"` | ||
Notifications bool `json:"notifications"` | ||
ProfileBackgroundColor string `json:"profile_background_color"` | ||
ProfileBackgroundImageURL string `json:"profile_background_image_url"` | ||
ProfileBackgroundImageUrlHttps string `json:"profile_background_image_url_https"` | ||
ProfileBackgroundTile bool `json:"profile_background_tile"` | ||
ProfileImageURL string `json:"profile_image_url"` | ||
ProfileImageUrlHttps string `json:"profile_image_url_https"` | ||
ProfileLinkColor string `json:"profile_link_color"` | ||
ProfileSidebarBorderColor string `json:"profile_sidebar_border_color"` | ||
ProfileSidebarFillColor string `json:"profile_sidebar_fill_color"` | ||
ProfileTextColor string `json:"profile_text_color"` | ||
ProfileUseBackgroundImage bool `json:"profile_use_background_image"` | ||
Protected bool `json:"protected"` | ||
ScreenName string `json:"screen_name"` | ||
ShowAllInlineMedia bool `json:"show_all_inline_media"` | ||
Status *Tweet `json:"status"` // Only included if the user is a friend | ||
StatusesCount int64 `json:"statuses_count"` | ||
TimeZone string `json:"time_zone"` | ||
URL string `json:"url"` | ||
UtcOffset int `json:"utc_offset"` | ||
Verified bool `json:"verified"` | ||
ContributorsEnabled bool `json:"contributors_enabled"` | ||
CreatedAt string `json:"created_at"` | ||
DefaultProfile bool `json:"default_profile"` | ||
DefaultProfileImage bool `json:"default_profile_image"` | ||
Description string `json:"description"` | ||
FavouritesCount int `json:"favourites_count"` | ||
FollowRequestSent bool `json:"follow_request_sent"` | ||
FollowersCount int `json:"followers_count"` | ||
Following bool `json:"following"` | ||
FriendsCount int `json:"friends_count"` | ||
GeoEnabled bool `json:"geo_enabled"` | ||
Id int64 `json:"id"` | ||
IdStr string `json:"id_str"` | ||
IsTranslator bool `json:"is_translator"` | ||
Lang string `json:"lang"` | ||
ListedCount int64 `json:"listed_count"` | ||
Location string `json:"location"` | ||
Name string `json:"name"` | ||
Notifications bool `json:"notifications"` | ||
ProfileBackgroundColor string `json:"profile_background_color"` | ||
ProfileBackgroundImageURL string `json:"profile_background_image_url"` | ||
ProfileBackgroundImageUrlHttps string `json:"profile_background_image_url_https"` | ||
ProfileBackgroundTile bool `json:"profile_background_tile"` | ||
ProfileImageURL string `json:"profile_image_url"` | ||
ProfileImageUrlHttps string `json:"profile_image_url_https"` | ||
ProfileLinkColor string `json:"profile_link_color"` | ||
ProfileSidebarBorderColor string `json:"profile_sidebar_border_color"` | ||
ProfileSidebarFillColor string `json:"profile_sidebar_fill_color"` | ||
ProfileTextColor string `json:"profile_text_color"` | ||
ProfileUseBackgroundImage bool `json:"profile_use_background_image"` | ||
Protected bool `json:"protected"` | ||
ScreenName string `json:"screen_name"` | ||
ShowAllInlineMedia bool `json:"show_all_inline_media"` | ||
Status *Tweet `json:"status"` // Only included if the user is a friend | ||
StatusesCount int64 `json:"statuses_count"` | ||
TimeZone string `json:"time_zone"` | ||
URL string `json:"url"` | ||
UtcOffset int `json:"utc_offset"` | ||
Verified bool `json:"verified"` | ||
Entities *Entities `json:"entities"` | ||
} |