Versions in this module Expand all Collapse all v1 v1.0.1 Apr 4, 2024 Changes in this version + const GitHubAPIBaseURLPath + type GitHubAPI struct + Client *github.Client + func NewGitHubAPI(ctx context.Context, auth string) (*GitHubAPI, error) + func (api *GitHubAPI) ListForks(ctx context.Context, owner string, repo string, ...) ([]*github.Repository, error) + func (api *GitHubAPI) ListOrganizations(ctx context.Context, username string, opts *github.ListOptions) ([]*github.Organization, error) + func (api *GitHubAPI) ListRepositories(ctx context.Context, user string, opts *github.RepositoryListOptions) ([]*github.Repository, error) + func (api *GitHubAPI) MergeUpstream(ctx context.Context, owner string, repo string, branch string) (*github.RepoMergeUpstreamResult, error) + func (api *GitHubAPI) MergeUpstreamFork(ctx context.Context, repoOwner string, repoName string, repoBranch string, ...) error + func (api *GitHubAPI) SyncForks(ctx context.Context, userName string, verboseFlag bool, debugFlag bool) error v1.0.0 Jan 25, 2024 Changes in this version + func ListForks(ctx context.Context, client *github.Client, owner string, repo string, ...) ([]*github.Repository, error) + func ListOrganizations(ctx context.Context, client *github.Client, username string, ...) ([]*github.Organization, error) + func ListRepositories(ctx context.Context, client *github.Client, user string, ...) ([]*github.Repository, error) + func MergeUpstream(ctx context.Context, client *github.Client, owner string, repo string, ...) (*github.RepoMergeUpstreamResult, error) + func MergeUpstreamFork(ctx context.Context, client *github.Client, repoOwner string, repoName string, ...) error + func SyncForks(ctx context.Context, client *github.Client, userName string, verboseFlag bool, ...) error + func WrapError(message string, err error) error