Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MockClient ¶
func MockClient(c Client)
Types ¶
type Contributor ¶
type GithubContext ¶
type GithubContext struct {
// contains filtered or unexported fields
}
func New ¶
func New(token string) *GithubContext
func (*GithubContext) Params ¶
func (ctx *GithubContext) Params(p map[string]string) *GithubContext
type GithubUser ¶
type GithubUser struct { // for db Login string `json:"login"` ID uint64 `json:"id"` Email string `json:"email"` // for display Bio string `json:"bio"` Name string `json:"name"` AvatarURL string `json:"avatar_url"` HTMLURL string `json:"html_url"` PublicRepos uint16 `json:"public_repos"` TotalPrivateRepos uint16 `json:"total_private_repos"` OwnedPrivateRepos uint16 `json:"owned_private_repos"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.