{"modulePath":"github.com/thegalactiks/giteway","version":"v0.1.13","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Types\n\n```go\ntype GithubService struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewGithubService(cfg *config.Config) *GithubService\n```\n\n```go\nfunc (h *GithubService) CreateBranch(ctx context.Context, repo *hosting.Repository, opts *hosting.CreateBranchOpts) (*hosting.Branch, error)\n```\n\n```go\nfunc (h *GithubService) CreateFile(ctx context.Context, repo *hosting.Repository, file *hosting.File, opts *hosting.CreateFileOpts) (*hosting.File, *hosting.Commit, error)\n```\n\n```go\nfunc (h *GithubService) DeleteBranch(ctx context.Context, repo *hosting.Repository, branch *hosting.Branch) error\n```\n\n```go\nfunc (h *GithubService) DeleteFile(ctx context.Context, repo *hosting.Repository, path string, opts *hosting.DeleteFileOpts) (*hosting.Commit, error)\n```\n\n```go\nfunc (h *GithubService) GetBranches(ctx context.Context, repo *hosting.Repository) ([]hosting.Branch, error)\n```\n\n```go\nfunc (h *GithubService) GetCommit(ctx context.Context, repo *hosting.Repository, opts *hosting.GetCommitsOpts) (*hosting.Commit, error)\n```\n\n```go\nfunc (h *GithubService) GetCommits(ctx context.Context, repo *hosting.Repository, opts *hosting.GetCommitsOpts) ([]hosting.Commit, error)\n```\n\n```go\nfunc (h *GithubService) GetFiles(ctx context.Context, repo *hosting.Repository, path string) (*hosting.File, []hosting.File, error)\n```\n\n```go\nfunc (h *GithubService) GetRawFile(ctx context.Context, repo *hosting.Repository, path string, opts *hosting.GetFileOpts) ([]byte, error)\n```\n\n```go\nfunc (h *GithubService) GetRepositories(ctx context.Context, owner string) ([]hosting.Repository, error)\n```\n\n```go\nfunc (h *GithubService) GetRepository(ctx context.Context, owner string, repo string) (*hosting.Repository, error)\n```\n\n```go\nfunc (s *GithubService) IsKnownInstallation(owner string) bool\n```\n\n```go\nfunc (h *GithubService) UpdateFile(ctx context.Context, repo *hosting.Repository, file *hosting.File, opts *hosting.UpdateFileOpts) (*hosting.File, *hosting.Commit, error)\n```\n\n```go\nfunc (s *GithubService) WithAuthToken(ctx context.Context, token string) (*GithubService, error)\n```\n\n```go\nfunc (s *GithubService) WithInstallation(installationID int64) (*GithubService, error)\n```\n\n```go\nfunc (s *GithubService) WithInstallationOwner(owner string) (*GithubService, error)\n```\n\n","path":"github.com/thegalactiks/giteway/github","name":"github","synopsis":"","isRedistributable":true}
