Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubRepo ¶
type GithubRepo struct {
Name string
Owner string
PullRequests []*ghb.PullRequest
RemoteRepo *ghb.Repository
// contains filtered or unexported fields
}
func NewGithubRepo ¶
func NewGithubRepo(name, owner, apiKey, baseURL, uploadURL string) *GithubRepo
func (*GithubRepo) IssueCount ¶
func (repo *GithubRepo) IssueCount() int
func (*GithubRepo) Open ¶
func (repo *GithubRepo) Open()
func (*GithubRepo) PullRequestCount ¶
func (repo *GithubRepo) PullRequestCount() int
func (*GithubRepo) Refresh ¶
func (repo *GithubRepo) Refresh()
Refresh reloads the github data via the Github API
func (*GithubRepo) StarCount ¶
func (repo *GithubRepo) StarCount() int
type Widget ¶
type Widget struct {
wtf.KeyboardWidget
wtf.TextWidget
GithubRepos []*GithubRepo
Idx int
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.