Versions in this module Expand all Collapse all v0 v0.9.0 Oct 2, 2026 v0.8.0 Oct 1, 2026 Changes in this version + type Provider struct + func NewProvider(token, baseURL string) (*Provider, error) + func NewProviderWithOptions(opts ProviderOptions) (*Provider, error) + func (p *Provider) BaseURL() string + func (p *Provider) CreatePullRequest(ctx context.Context, in provider.CreatePullRequestInput) (*provider.PullRequest, error) + func (p *Provider) FindPullRequest(ctx context.Context, owner, repo, head, base string) (*provider.PullRequest, error) + func (p *Provider) GetRateLimit(ctx context.Context) (*provider.RateLimit, error) + func (p *Provider) GetRepository(ctx context.Context, owner, repo string) (*provider.Repository, error) + func (p *Provider) ListOrganizationRepos(ctx context.Context, org string) ([]*provider.Repository, error) + func (p *Provider) ListOrganizations(ctx context.Context) ([]*provider.Organization, error) + func (p *Provider) ListUserRepos(ctx context.Context, user string) ([]*provider.Repository, error) + func (p *Provider) Name() string + func (p *Provider) SetToken(token string) error + func (p *Provider) ValidateToken(ctx context.Context) (bool, error) + type ProviderOptions struct + BaseURL string + Token string