{"modulePath":"github.com/btoll/github-client","version":"v0.0.0-20250629162044-8b112b365208","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubclient\n\n## Functions\n\n```go\nfunc CreateBlob(g *GitHubClient, content string) (*github.Blob, error)\n```\n\n```go\nfunc CreateCommit(g *GitHubClient, parent *github.RepositoryCommit, tree *github.Tree) (*github.Commit, error)\n```\n\n```go\nfunc CreateFork(g *GitHubClient) (*github.Repository, error)\n```\n\n```go\nfunc CreatePullRequest(g *GitHubClient, title, body string) (*github.PullRequest, error)\n```\n\n```go\nfunc CreateReference(g *GitHubClient, baseRef *github.Reference) (*github.Reference, error)\n```\n\n```go\nfunc CreateRepository(g *GitHubClient) (*github.Repository, error)\n```\n\n```go\nfunc CreateTree(g *GitHubClient, sha string, entries []*github.TreeEntry) (*github.Tree, error)\n```\n\n```go\nfunc DeleteReference(g *GitHubClient) error\n```\n\n```go\nfunc DeleteRepository(g *GitHubClient) error\n```\n\n```go\nfunc GetBlob(g *GitHubClient, sha string) (*github.Blob, error)\n```\n\n```go\nfunc GetBlobContent(g *GitHubClient, sha string) ([]byte, error)\n```\n\n```go\nfunc GetBranch(g *GitHubClient, branch string) (*github.Branch, error)\n```\n\n```go\nfunc GetCommit(g *GitHubClient, sha string) (*github.RepositoryCommit, error)\n```\n\n```go\nfunc GetOrganization(g *GitHubClient) (*github.Organization, error)\n```\n\n```go\nfunc GetPullRequestTemplate(g *GitHubClient, sha string) ([]byte, error)\n```\n\n```go\nfunc GetReference(g *GitHubClient) (*github.Reference, error)\n```\n\n```go\nfunc GetTree(g *GitHubClient, sha string) (*github.Tree, error)\n```\n\n```go\nfunc ListByOrg(g *GitHubClient) ([]*github.Repository, error)\n```\n\n```go\nfunc ListForks(g *GitHubClient) ([]*github.Repository, error)\n```\n\n```go\nfunc ListInstallations(g *GitHubClient) (*github.OrganizationInstallations, error)\n```\n\n```go\nfunc ListRepositories(g *GitHubClient) ([]*github.Repository, error)\n```\n\n```go\nfunc UpdateReference(g *GitHubClient, baseRef *github.Reference) (*github.Reference, error)\n```\n\n## Types\n\n```go\ntype GitHubClient struct {\n\tUpstream   string\n\tOwner      string\n\tRepository string\n\tBranch     string\n\tPath       string\n\tMessage    string\n\tPaginate   bool\n}\n```\n\n","path":"github.com/btoll/github-client","name":"githubclient","synopsis":"","isRedistributable":true}
