{"modulePath":"github.com/GitCollabCode/GitCollab","version":"v0.0.0-20230317024610-88dbfc45bbd1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubAPI\n\n## Functions\n\n```go\nfunc GetGitClientFromContext(r *http.Request) (*github.Client, error)\n```\n\n```go\nfunc GetGitUserName(client *github.Client) (string, error)\n```\n\\* Get Github Username from users GitHub\n\n```go\nfunc GetRepoByName(client *github.Client, repoName string) (*github.Repository, error)\n```\n\n```go\nfunc GetRepoContributers(client *github.Client, repo *github.Repository) (map[string]int, error)\n```\n\\* return a map of contributers names and their associated github ID\n\n```go\nfunc GetRepoIssues(client *github.Client, repo *github.Repository) ([]*github.Issue, error)\n```\n\\* Get a list of issues for a repo\n\n```go\nfunc GetUserBio(client *github.Client) (string, error)\n```\n\\* Get Bio from users github\n\n```go\nfunc GetUserID(client *github.Client) (int, error)\n```\n\\* Get User ID from users github\n\n```go\nfunc GetUserIconURL(client *github.Client) (string, error)\n```\n\\* Get Icon URL from users github\n\n```go\nfunc GetUserOwnedRepos(client *github.Client) ([]*github.Repository, error)\n```\n\\* Get List of repos owned by authenticated user\n\n","path":"github.com/GitCollabCode/GitCollab/internal/github","name":"githubAPI","synopsis":"","isRedistributable":true}
