Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRepo ¶
CreateRepo creates a repo connected to users pat
func DeleteRepo ¶
DeleteRepo delete a repo connected to users pat
Types ¶
type User ¶
type User struct {
Login string `json:"login"`
Id int `json:"id"`
NodeId string `json:"node_id"`
AvatarUrl string `json:"avatar_url"`
GravatarId string `json:"gravatar_id"`
Url string `json:"url"`
HtmlUrl string `json:"html_url"`
FollowersUrl string `json:"followers_url"`
FollowingUrl string `json:"following_url"`
GistsUrl string `json:"gists_url"`
StarredUrl string `json:"starred_url"`
SubscriptionUrl string `json:"subscriptions_url"`
OrganizationUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventUrl string `json:"events_url"`
RecievedEventsUrl string `json:"received_events_url"`
UserType string `json:"type"`
SiteAdmin bool `json:"site_admin"`
Name string `json:"name"`
Company string `json:"company"`
Blog string `json:"blog"`
Location string `json:"location"`
Email string `json:"email"`
Hireable bool `json:"hireable"`
Bio string `json:"bio"`
TwitterUsername string `json:"twitter_username"`
PublicRepos int64 `json:"public_repos"`
PublicGist int64 `json:"public_gists"`
Followers int64 `json:"followers"`
Following int64 `json:"following"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
PrivateGist int64 `json:"private_gists"`
TotalPrivateRepos int64 `json:"total_private_repos"`
OwnedPrivateRepos int64 `json:"owned_private_repos"`
DiskUsage int64 `json:"disk_usage"`
Collaborators int64 `json:"collaborators"`
TwoFactorAuthentication string `json:"two_factor_authentication"`
Plan UserPlan `json:"plan"`
}
Click to show internal directories.
Click to hide internal directories.