Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comment ¶ added in v1.1.0
type Comment struct { URL string HTMLURL string IssueURL string ID string User Owner CreatedAt string UpdatedAt string AuthorAssociation string Body []byte }
Comment ..
type Issue ¶ added in v1.1.0
type Issue struct { 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"` ID uint64 `json:"id"` Number uint64 `json:"number"` Title string `json:"title"` User Owner `json:"user"` Labels []Label `json:"labels"` State string `json:"state"` Locked bool `json:"locked"` Assignee *Owner `json:"assignee"` Assignees []Owner `json:"assignees"` Commits uint64 `json:"commits"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` ClosedAt *string `json:"closed_at"` AuthorAssociation string `json:"author_association"` Body []byte `json:"body"` }
Issue repo's issues
type Label ¶ added in v1.1.0
type Label struct { ID uint `json:"id"` URL string `json:"url"` Name string `json:"name"` Color string `json:"color"` Default bool `json:"default"` }
Label issue's label
type License ¶
type License struct { Key string `json:"key"` Name string `json:"name"` SpdxID string `json:"spdx_id"` URL string `json:"url"` }
License GitHub license struct
type Milestone ¶ added in v1.1.0
type Milestone struct { URL string `json:"url"` HTMLURL string `json:"html_url"` LabelsURL string `json:"labels_url"` ID uint `json:"id"` Title string `json:"title"` Description string `json:"description"` Creator Owner `json:"creator"` OpenIssues uint `json:"open_issues"` ClosedIssues uint `json:"closed_issues"` State string `json:"state"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` DueOn string `json:"due_on"` ClosedAt *string `json:"closed_at"` }
Milestone issue's milestone
type Owner ¶
type Owner struct { Login string `json:"login"` ID uint64 `json:"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"` }
Owner GitHub owner struct
type Repo ¶
type Repo struct { ID uint64 `json:"id"` Name string `json:"name"` FullName string `json:"full_name"` Owner Owner `json:"owner"` Private bool `json:"private"` 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 uint64 `json:"size"` StargazersCount uint64 `json:"stargazers_count"` WatchersCount uint64 `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"` ForksCount uint64 `json:"forks_count"` MirrorURL *string `json:"mirror_url"` Archived bool `json:"archived"` OpenIssuesCount uint `json:"open_issues_count"` License *License `json:"license"` Forks uint64 `json:"forks"` OpenIssues uint64 `json:"open_issues"` Watchers uint64 `json:"watchers"` DefaultBranch string `json:"default_branch"` }
Repo GitHub repo struct https://api.github.com/users/tosone/repos
type User ¶
type User struct { Login string `json:"login"` UserID uint64 `json:"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"` Name string `json:"name"` Company string `json:"company"` Blog string `json:"blog"` Location string `json:"location"` Email string `json:"email"` Hireable interface{} `json:"hireable"` Bio string `json:"bio"` PublicRepos uint64 `json:"public_repos"` PublicGists uint64 `json:"public_gists"` Followers uint64 `json:"followers"` Following uint64 `json:"following"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
User GitHub user struct https://api.github.com/users/tosone
Click to show internal directories.
Click to hide internal directories.