MCPcopy Create free account
hub / github.com/Preloading/TwitterAPIBridge / copy

Method copy

bridge/usercache.go:55–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (u TwitterUser) copy() TwitterUser {
56 return TwitterUser{
57 Name: u.Name,
58 ProfileSidebarBorderColor: u.ProfileSidebarBorderColor,
59 ProfileBackgroundTile: u.ProfileBackgroundTile,
60 ProfileSidebarFillColor: u.ProfileSidebarFillColor,
61 CreatedAt: u.CreatedAt,
62 ProfileImageURL: u.ProfileImageURL,
63 Location: u.Location,
64 ProfileLinkColor: u.ProfileLinkColor,
65 FollowRequestSent: u.FollowRequestSent,
66 URL: u.URL,
67 FavouritesCount: u.FavouritesCount,
68 ContributorsEnabled: u.ContributorsEnabled,
69 UtcOffset: u.UtcOffset,
70 ID: u.ID,
71 ProfileUseBackgroundImage: u.ProfileUseBackgroundImage,
72 ProfileTextColor: u.ProfileTextColor,
73 Protected: u.Protected,
74 FollowersCount: u.FollowersCount,
75 Lang: u.Lang,
76 Notifications: u.Notifications,
77 TimeZone: u.TimeZone,
78 Verified: u.Verified,
79 ProfileBackgroundColor: u.ProfileBackgroundColor,
80 GeoEnabled: u.GeoEnabled,
81 Description: u.Description,
82 FriendsCount: u.FriendsCount,
83 StatusesCount: u.StatusesCount,
84 ProfileBackgroundImageURL: u.ProfileBackgroundImageURL,
85 Following: u.Following,
86 ScreenName: u.ScreenName,
87 ShowAllInlineMedia: u.ShowAllInlineMedia,
88 IsTranslator: u.IsTranslator,
89 ListedCount: u.ListedCount,
90 DefaultProfile: u.DefaultProfile,
91 DefaultProfileImage: u.DefaultProfileImage,
92 Status: u.Status,
93 ProfileImageURLHttps: u.ProfileImageURLHttps,
94 IDStr: u.IDStr,
95 ProfileBannerURL: u.ProfileBannerURL,
96 ProfileBannerURLHttps: u.ProfileBannerURLHttps,
97 }
98}

Callers 1

GetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected