Versions in this module Expand all Collapse all v0 v0.3.1 Oct 5, 2026 v0.3.0 Oct 4, 2026 Changes in this version + const EnvBitbucketToken + const EnvBitbucketUsername + const EnvConfigPath + const EnvForgejoToken + const EnvForgejoURL + const EnvGitHubToken + const EnvGitLabToken + const EnvGitLabURL + const EnvSourceHutToken + const EnvSourceHutUsername + var ErrIssuesUnsupported = errors.New("issue tracking not supported") + var ErrNotSupported = errors.New("not supported by this forge") + func DefaultConfigPath() (string, error) + func ResolveConfigPath(flagValue string) (string, error) + type BitbucketConfig struct + Token string + Username string + type Client struct + func New(token string) *Client + func (c *Client) Create(ctx context.Context, in GistInput) (Gist, error) + type Config struct + Bitbucket BitbucketConfig + Forgejo ForgejoConfig + GitHub GitHubConfig + GitLab GitLabConfig + Instances []Instance + SourceHut SourceHutConfig + func LoadConfig(path string) (Config, error) + func (c Config) All() []Instance + func (c Config) Enabled() bool + func (c Config) Validate() error + type FetchSpec struct + ForkURL string + HeadSHA string + LocalBranch string + Refspecs []string + Remote string + type ForgejoConfig struct + Token string + URL string + type Gist struct + Description string + Files map[string]GistFile + ID string + Public bool + URL string + type GistFile struct + Content string + Filename string + type GistInput struct + Description string + Files map[string]string + Public bool + type GitHubConfig struct + Token string + type GitLabConfig struct + Token string + URL string + type Instance struct + Driver string + Name string + Token string + Type string + URL string + Username string + type Issue struct + Forge string + Instance string + Number int + Repo string + State string + Title string + URL string + type IssueDetail struct + Assignees []string + Author string + Body string + CreatedAt time.Time + Forge string + Instance string + Labels []string + Number int + Repo string + State string + Title string + URL string + UpdatedAt time.Time + type IssueInput struct + Body string + Labels []string + Repo string + Title string + type MergeOptions struct + DeleteBranch bool + MergeMethod string + OptionalMessage string + Title string + type PR struct + Forge string + Instance string + Number int + Repo string + State string + Title string + URL string + type PRDetail struct + Author string + BaseBranch string + Body string + CreatedAt time.Time + Draft bool + Forge string + HeadBranch string + HeadOwner string + HeadRepoName string + HeadSHA string + Instance string + Labels []string + Merged bool + Number int + Repo string + State string + Title string + URL string + UpdatedAt time.Time + type PRInput struct + Base string + Body string + Draft bool + Head string + Repo string + Title string + type Project struct + Forge string + FullName string + Instance string + Private bool + URL string + type Repo struct + Forge string + FullName string + Instance string + Private bool + URL string + type RepoInput struct + Description string + Name string + Owner string + Private bool + type Run struct + Branch string + Forge string + ID int64 + Instance string + Name string + Repo string + Status string + URL string + type SourceHutConfig struct + Token string + Username string + type Workflow struct + Forge string + ID int64 + Instance string + Name string + Repo string + State string + URL string