{"modulePath":"github.com/isindir/git-get","version":"v0.0.40","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Functions\n\n```go\nfunc CreateRepository(\n\tctx context.Context,\n\trepositorySha string,\n\trepository string,\n\tmirrorVisibilityMode string,\n\tsourceURL string,\n) *github.Repository\n```\nCreateRepository - Create github repository (package function for backward compatibility)\n\n```go\nfunc FetchOwnerRepos(\n\tctx context.Context,\n\trepoSha, owner, githubVisibility, githubAffiliation string,\n) []*github.Repository\n```\nFetchOwnerRepos - fetch owner repositories via API, being it Organization or User (package function for backward compatibility)\n\n```go\nfunc RepositoryExists(ctx context.Context, repositorySha, owner, repository string) bool\n```\nRepositoryExists - check if remote github repository exists (package function for backward compatibility)\n\n## Types\n\n```go\ntype GitGetGithub struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (gitProvider *GitGetGithub) CreateRepository(\n\tctx context.Context,\n\trepositorySha string,\n\trepository string,\n\tmirrorVisibilityMode string,\n\tsourceURL string,\n) *github.Repository\n```\nCreateRepository - Create github repository (method)\n\n```go\nfunc (gitProvider *GitGetGithub) FetchOwnerRepos(\n\tctx context.Context,\n\trepoSha, owner, githubVisibility, githubAffiliation string,\n) []*github.Repository\n```\nFetchOwnerRepos - fetch owner repositories via API, being it Organization or User (method)\n\n```go\nfunc (gitProvider *GitGetGithub) Init() bool\n```\n\n```go\nfunc (gitProvider *GitGetGithub) RepositoryExists(ctx context.Context, repositorySha, owner, repository string) bool\n```\nRepositoryExists - check if remote github repository exists (method)\n\n```go\ntype GitGetGithubI interface {\n\tInit() bool\n\tRepositoryExists(ctx context.Context, repositorySha, owner, repository string) bool\n\tCreateRepository(\n\t\tctx context.Context,\n\t\trepositorySha string,\n\t\trepository string,\n\t\tmirrorVisibilityMode string,\n\t\tsourceURL string,\n\t) *github.Repository\n\tFetchOwnerRepos(\n\t\tctx context.Context,\n\t\trepoSha, owner, githubVisibility, githubAffiliation string,\n\t) []*github.Repository\n}\n```\n\n","path":"github.com/isindir/git-get/github","name":"github","synopsis":"","isRedistributable":true}
