Documentation
¶
Index ¶
- func GetGitClientFromContext(r *http.Request) (*github.Client, error)
- func GetGitUserName(client *github.Client) (string, error)
- func GetRepoByName(client *github.Client, repoName string) (*github.Repository, error)
- func GetRepoContributers(client *github.Client, repo *github.Repository) (map[string]int, error)
- func GetRepoIssues(client *github.Client, repo *github.Repository) ([]*github.Issue, error)
- func GetUserBio(client *github.Client) (string, error)
- func GetUserID(client *github.Client) (int, error)
- func GetUserIconURL(client *github.Client) (string, error)
- func GetUserOwnedRepos(client *github.Client) ([]*github.Repository, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGitClientFromContext ¶
func GetGitUserName ¶
* Get Github Username from users GitHub
func GetRepoByName ¶
func GetRepoContributers ¶
* return a map of contributers names and their associated github ID
func GetRepoIssues ¶
* Get a list of issues for a repo
func GetUserBio ¶
* Get Bio from users github
func GetUserIconURL ¶
* Get Icon URL from users github
func GetUserOwnedRepos ¶
func GetUserOwnedRepos(client *github.Client) ([]*github.Repository, error)
* Get List of repos owned by authenticated user
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.