{"modulePath":"github.com/marccarre/github-oauth-cli","version":"v0.0.0-20190923080717-dab0c9968e2c","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Functions\n\n```go\nfunc Owner(repo string) string\n```\nOwner extracts the owner from the provided repository HTTPS or SSH URL.\n\n## Types\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\nClient is a high-level GitHub client, wrapping around a google/go-github/github#Client.\n\n```go\nfunc NewClient(ctx context.Context, username string) (*Client, error)\n```\nNewClient returns an authenticated GitHub client.\n\n```go\nfunc (c Client) AddDeployKey(ctx context.Context, repo string, key *github.Key)\n```\nAddDeployKey adds the provided deploy key to the provided repository.\n\n","path":"github.com/marccarre/github-oauth-cli/pkg/github","name":"github","synopsis":"","isRedistributable":true}
