Documentation
¶
Index ¶
- func GetProjects()
- func Request(method string, url string, body string, account string, response any) string
- func RequestGraph(body []byte, account string, response any)
- type IssueList
- type IssueRequest
- type IssueResponse
- type OrgProjects
- type OrgResponse
- type ProjectsResponse
- type RepoResponse
- type Repos
- type RepositoryList
- type SimpleRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProjects ¶
func GetProjects()
func RequestGraph ¶
Types ¶
type IssueList ¶
type IssueList struct {
Id int `json:"id"`
NodeId string `json:"node_id"`
Url string `json:"url"`
RepositoryUrl string `json:"repository_url"`
LabelsUrl string `json:"labels_url"`
CommentsUrl string `json:"comments_url"`
EventsUrl string `json:"events_url"`
HtmlUrl string `json:"html_url"`
Number int `json:"number"`
State string `json:"state"`
Title string `json:"title"`
Body string `json:"body"`
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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"user"`
Labels []struct {
Id int `json:"id"`
NodeId string `json:"node_id"`
Url string `json:"url"`
Name string `json:"name"`
Description string `json:"description"`
Color string `json:"color"`
Default bool `json:"default"`
} `json:"labels"`
Assignee 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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"assignee"`
Assignees []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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"assignees"`
Milestone struct {
Url string `json:"url"`
HtmlUrl string `json:"html_url"`
LabelsUrl string `json:"labels_url"`
Id int `json:"id"`
NodeId string `json:"node_id"`
Number int `json:"number"`
State string `json:"state"`
Title string `json:"title"`
Description string `json:"description"`
Creator 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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"creator"`
OpenIssues int `json:"open_issues"`
ClosedIssues int `json:"closed_issues"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
ClosedAt time.Time `json:"closed_at"`
DueOn time.Time `json:"due_on"`
} `json:"milestone"`
Locked bool `json:"locked"`
ActiveLockReason string `json:"active_lock_reason"`
Comments int `json:"comments"`
PullRequest struct {
Url string `json:"url"`
HtmlUrl string `json:"html_url"`
DiffUrl string `json:"diff_url"`
PatchUrl string `json:"patch_url"`
} `json:"pull_request"`
ClosedAt interface{} `json:"closed_at"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Repository struct {
Id int `json:"id"`
NodeId string `json:"node_id"`
Name string `json:"name"`
FullName string `json:"full_name"`
Owner 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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"owner"`
Private bool `json:"private"`
HtmlUrl string `json:"html_url"`
Description string `json:"description"`
Fork bool `json:"fork"`
Url string `json:"url"`
ArchiveUrl string `json:"archive_url"`
AssigneesUrl string `json:"assignees_url"`
BlobsUrl string `json:"blobs_url"`
BranchesUrl string `json:"branches_url"`
CollaboratorsUrl string `json:"collaborators_url"`
CommentsUrl string `json:"comments_url"`
CommitsUrl string `json:"commits_url"`
CompareUrl string `json:"compare_url"`
ContentsUrl string `json:"contents_url"`
ContributorsUrl string `json:"contributors_url"`
DeploymentsUrl string `json:"deployments_url"`
DownloadsUrl string `json:"downloads_url"`
EventsUrl string `json:"events_url"`
ForksUrl string `json:"forks_url"`
GitCommitsUrl string `json:"git_commits_url"`
GitRefsUrl string `json:"git_refs_url"`
GitTagsUrl string `json:"git_tags_url"`
GitUrl string `json:"git_url"`
IssueCommentUrl string `json:"issue_comment_url"`
IssueEventsUrl string `json:"issue_events_url"`
IssuesUrl string `json:"issues_url"`
KeysUrl string `json:"keys_url"`
LabelsUrl string `json:"labels_url"`
LanguagesUrl string `json:"languages_url"`
MergesUrl string `json:"merges_url"`
MilestonesUrl string `json:"milestones_url"`
NotificationsUrl string `json:"notifications_url"`
PullsUrl string `json:"pulls_url"`
ReleasesUrl string `json:"releases_url"`
SshUrl string `json:"ssh_url"`
StargazersUrl string `json:"stargazers_url"`
StatusesUrl string `json:"statuses_url"`
SubscribersUrl string `json:"subscribers_url"`
SubscriptionUrl string `json:"subscription_url"`
TagsUrl string `json:"tags_url"`
TeamsUrl string `json:"teams_url"`
TreesUrl string `json:"trees_url"`
CloneUrl string `json:"clone_url"`
MirrorUrl string `json:"mirror_url"`
HooksUrl string `json:"hooks_url"`
SvnUrl string `json:"svn_url"`
Homepage string `json:"homepage"`
Language interface{} `json:"language"`
ForksCount int `json:"forks_count"`
StargazersCount int `json:"stargazers_count"`
WatchersCount int `json:"watchers_count"`
Size int `json:"size"`
DefaultBranch string `json:"default_branch"`
OpenIssuesCount int `json:"open_issues_count"`
IsTemplate bool `json:"is_template"`
Topics []string `json:"topics"`
HasIssues bool `json:"has_issues"`
HasProjects bool `json:"has_projects"`
HasWiki bool `json:"has_wiki"`
HasPages bool `json:"has_pages"`
HasDownloads bool `json:"has_downloads"`
Archived bool `json:"archived"`
Disabled bool `json:"disabled"`
Visibility string `json:"visibility"`
PushedAt time.Time `json:"pushed_at"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Permissions struct {
Admin bool `json:"admin"`
Push bool `json:"push"`
Pull bool `json:"pull"`
} `json:"permissions"`
AllowRebaseMerge bool `json:"allow_rebase_merge"`
TemplateRepository interface{} `json:"template_repository"`
TempCloneToken string `json:"temp_clone_token"`
AllowSquashMerge bool `json:"allow_squash_merge"`
AllowAutoMerge bool `json:"allow_auto_merge"`
DeleteBranchOnMerge bool `json:"delete_branch_on_merge"`
AllowMergeCommit bool `json:"allow_merge_commit"`
SubscribersCount int `json:"subscribers_count"`
NetworkCount int `json:"network_count"`
License struct {
Key string `json:"key"`
Name string `json:"name"`
Url string `json:"url"`
SpdxId string `json:"spdx_id"`
NodeId string `json:"node_id"`
HtmlUrl string `json:"html_url"`
} `json:"license"`
Forks int `json:"forks"`
OpenIssues int `json:"open_issues"`
Watchers int `json:"watchers"`
} `json:"repository"`
AuthorAssociation string `json:"author_association"`
}
type IssueRequest ¶
type IssueResponse ¶
type IssueResponse struct {
Id int `json:"id"`
NodeId string `json:"node_id"`
Url string `json:"url"`
RepositoryUrl string `json:"repository_url"`
LabelsUrl string `json:"labels_url"`
CommentsUrl string `json:"comments_url"`
EventsUrl string `json:"events_url"`
HtmlUrl string `json:"html_url"`
Number int `json:"number"`
State string `json:"state"`
Title string `json:"title"`
Body string `json:"body"`
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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"user"`
Labels []struct {
Id int `json:"id"`
NodeId string `json:"node_id"`
Url string `json:"url"`
Name string `json:"name"`
Description string `json:"description"`
Color string `json:"color"`
Default bool `json:"default"`
} `json:"labels"`
Assignee 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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"assignee"`
Assignees []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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"assignees"`
Milestone struct {
Url string `json:"url"`
HtmlUrl string `json:"html_url"`
LabelsUrl string `json:"labels_url"`
Id int `json:"id"`
NodeId string `json:"node_id"`
Number int `json:"number"`
State string `json:"state"`
Title string `json:"title"`
Description string `json:"description"`
Creator 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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"creator"`
OpenIssues int `json:"open_issues"`
ClosedIssues int `json:"closed_issues"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
ClosedAt time.Time `json:"closed_at"`
DueOn time.Time `json:"due_on"`
} `json:"milestone"`
Locked bool `json:"locked"`
ActiveLockReason string `json:"active_lock_reason"`
Comments int `json:"comments"`
PullRequest struct {
Url string `json:"url"`
HtmlUrl string `json:"html_url"`
DiffUrl string `json:"diff_url"`
PatchUrl string `json:"patch_url"`
} `json:"pull_request"`
ClosedAt interface{} `json:"closed_at"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
ClosedBy 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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"closed_by"`
AuthorAssociation string `json:"author_association"`
StateReason string `json:"state_reason"`
}
func CreateIssue ¶
func CreateIssue(title string, body string, labels []string) IssueResponse
type OrgProjects ¶
type OrgProjects struct {
OwnerUrl string `json:"owner_url"`
Url string `json:"url"`
HtmlUrl string `json:"html_url"`
ColumnsUrl string `json:"columns_url"`
Id int `json:"id"`
NodeId string `json:"node_id"`
Name string `json:"name"`
Body string `json:"body"`
Number int `json:"number"`
State string `json:"state"`
Creator 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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"creator"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
OrganizationPermission string `json:"organization_permission"`
Private bool `json:"private"`
}
type OrgResponse ¶
type OrgResponse struct {
Login string `json:"login"`
Id int `json:"id"`
NodeId string `json:"node_id"`
Url string `json:"url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
HooksUrl string `json:"hooks_url"`
IssuesUrl string `json:"issues_url"`
MembersUrl string `json:"members_url"`
PublicMembersUrl string `json:"public_members_url"`
AvatarUrl string `json:"avatar_url"`
Description string `json:"description"`
}
func Org ¶
func Org(account string) []OrgResponse
type ProjectsResponse ¶
type ProjectsResponse struct {
Data struct {
Organization model.Organization `json:"organization"`
} `json:"data"`
}
type RepoResponse ¶
type RepoResponse struct {
Id int `json:"id"`
NodeId string `json:"node_id"`
Name string `json:"name"`
FullName string `json:"full_name"`
Private bool `json:"private"`
Owner 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"`
SubscriptionsUrl string `json:"subscriptions_url"`
OrganizationsUrl string `json:"organizations_url"`
ReposUrl string `json:"repos_url"`
EventsUrl string `json:"events_url"`
ReceivedEventsUrl string `json:"received_events_url"`
Type string `json:"type"`
SiteAdmin bool `json:"site_admin"`
} `json:"owner"`
HtmlUrl string `json:"html_url"`
Description *string `json:"description"`
Fork bool `json:"fork"`
Url string `json:"url"`
ForksUrl string `json:"forks_url"`
KeysUrl string `json:"keys_url"`
CollaboratorsUrl string `json:"collaborators_url"`
TeamsUrl string `json:"teams_url"`
HooksUrl string `json:"hooks_url"`
IssueEventsUrl string `json:"issue_events_url"`
EventsUrl string `json:"events_url"`
AssigneesUrl string `json:"assignees_url"`
BranchesUrl string `json:"branches_url"`
TagsUrl string `json:"tags_url"`
BlobsUrl string `json:"blobs_url"`
GitTagsUrl string `json:"git_tags_url"`
GitRefsUrl string `json:"git_refs_url"`
TreesUrl string `json:"trees_url"`
StatusesUrl string `json:"statuses_url"`
LanguagesUrl string `json:"languages_url"`
StargazersUrl string `json:"stargazers_url"`
ContributorsUrl string `json:"contributors_url"`
SubscribersUrl string `json:"subscribers_url"`
SubscriptionUrl string `json:"subscription_url"`
CommitsUrl string `json:"commits_url"`
GitCommitsUrl string `json:"git_commits_url"`
CommentsUrl string `json:"comments_url"`
IssueCommentUrl string `json:"issue_comment_url"`
ContentsUrl string `json:"contents_url"`
CompareUrl string `json:"compare_url"`
MergesUrl string `json:"merges_url"`
ArchiveUrl string `json:"archive_url"`
DownloadsUrl string `json:"downloads_url"`
IssuesUrl string `json:"issues_url"`
PullsUrl string `json:"pulls_url"`
MilestonesUrl string `json:"milestones_url"`
NotificationsUrl string `json:"notifications_url"`
LabelsUrl string `json:"labels_url"`
ReleasesUrl string `json:"releases_url"`
DeploymentsUrl string `json:"deployments_url"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
PushedAt time.Time `json:"pushed_at"`
GitUrl string `json:"git_url"`
SshUrl string `json:"ssh_url"`
CloneUrl string `json:"clone_url"`
SvnUrl string `json:"svn_url"`
Homepage *string `json:"homepage"`
Size int `json:"size"`
StargazersCount int `json:"stargazers_count"`
WatchersCount int `json:"watchers_count"`
Language *string `json:"language"`
HasIssues bool `json:"has_issues"`
HasProjects bool `json:"has_projects"`
HasDownloads bool `json:"has_downloads"`
HasWiki bool `json:"has_wiki"`
HasPages bool `json:"has_pages"`
HasDiscussions bool `json:"has_discussions"`
ForksCount int `json:"forks_count"`
MirrorUrl interface{} `json:"mirror_url"`
Archived bool `json:"archived"`
Disabled bool `json:"disabled"`
OpenIssuesCount int `json:"open_issues_count"`
License interface{} `json:"license"`
AllowForking bool `json:"allow_forking"`
IsTemplate bool `json:"is_template"`
WebCommitSignoffRequired bool `json:"web_commit_signoff_required"`
Topics []interface{} `json:"topics"`
Visibility string `json:"visibility"`
Forks int `json:"forks"`
OpenIssues int `json:"open_issues"`
Watchers int `json:"watchers"`
DefaultBranch string `json:"default_branch"`
Permissions struct {
Admin bool `json:"admin"`
Maintain bool `json:"maintain"`
Push bool `json:"push"`
Triage bool `json:"triage"`
Pull bool `json:"pull"`
} `json:"permissions"`
SecurityAndAnalysis struct {
SecretScanning struct {
Status string `json:"status"`
} `json:"secret_scanning"`
SecretScanningPushProtection struct {
Status string `json:"status"`
} `json:"secret_scanning_push_protection"`
} `json:"security_and_analysis,omitempty"`
}
func AccountRepositories ¶
func AccountRepositories(account string) []RepoResponse
func OrgRepositories ¶
func OrgRepositories(org string, account string) []RepoResponse
func Repo ¶
func Repo(repos []RepoResponse) RepoResponse
func RepositoriesWithIssues ¶
func RepositoriesWithIssues(account string) []RepoResponse
type Repos ¶
type Repos struct {
Data struct {
User struct {
Organizations struct {
Nodes []struct {
Name string `json:"name"`
Repositories struct {
Nodes []struct {
Name string `json:"name"`
Url string `json:"url"`
Description *string `json:"description"`
PrimaryLanguage *struct {
Name string `json:"name"`
} `json:"primaryLanguage"`
Languages struct {
Nodes []struct {
Name string `json:"name"`
} `json:"nodes"`
} `json:"languages"`
} `json:"nodes"`
} `json:"repositories"`
} `json:"nodes"`
} `json:"organizations"`
Repositories struct {
Nodes []struct {
Name string `json:"name"`
Url string `json:"url"`
Description string `json:"description"`
PrimaryLanguage *struct {
Name string `json:"name"`
} `json:"primaryLanguage"`
Languages struct {
Nodes []struct {
Name string `json:"name"`
} `json:"nodes"`
} `json:"languages"`
} `json:"nodes"`
} `json:"repositories"`
} `json:"user"`
} `json:"data"`
}
func AccRepositories ¶
type RepositoryList ¶
type RepositoryList []RepoResponse
func (RepositoryList) Len ¶
func (p RepositoryList) Len() int
func (RepositoryList) Less ¶
func (p RepositoryList) Less(i, j int) bool
func (RepositoryList) Swap ¶
func (p RepositoryList) Swap(i, j int)
type SimpleRepo ¶
type SimpleRepo struct {
Name string `json:"name"`
Url string `json:"url"`
Owner string `json:"owner"`
}
func Repositories ¶
func Repositories(account string) []SimpleRepo
Source Files
¶
Click to show internal directories.
Click to hide internal directories.