{"modulePath":"github.com/giantswarm/devctl","version":"v1.0.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubclient\n\n## Functions\n\n```go\nfunc IsExecution(err error) bool\n```\nIsExecution asserts executionError.\n\n```go\nfunc IsInvalidConfig(err error) bool\n```\nIsInvalidConfig asserts invalidConfigError.\n\n```go\nfunc IsNotFound(err error) bool\n```\nIsNotFound asserts notFoundError.\n\n## Types\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New(config Config) (*Client, error)\n```\n\n```go\nfunc (c *Client) GetFile(ctx context.Context, owner, repo, path, ref string) (RepositoryFile, error)\n```\n\n```go\nfunc (c *Client) ListRepositories(ctx context.Context, owner string) ([]Repository, error)\n```\n\n```go\ntype Config struct {\n\tLogger micrologger.Logger\n\n\tAccessToken string\n}\n```\n\n```go\ntype Repository struct {\n\tName      string\n\tLanguage  string\n\tOwner     string\n\tUpdatedAt time.Time\n}\n```\n\n```go\ntype RepositoryFile struct {\n\tData []byte\n\tPath string\n}\n```\n\n","path":"github.com/giantswarm/devctl/pkg/githubclient","name":"githubclient","synopsis":"","isRedistributable":true}
