Versions in this module Expand all Collapse all v0 v0.17.15 May 11, 2026 v0.17.14 May 11, 2026 Changes in this version + func GetDemoChecksStatus(branchName string) string + func GetDemoCurrentBranch() string + func GetDemoPrInfo(branchName string) *engine.PrInfo + func GetDemoTrunk() string + func NewDemoEngine() (engine.Engine, error) + func NewDemoGitRunner() git.Runner + type Branch struct + Added int + Checks string + Commits int + Deleted int + IsDraft bool + Name string + PRNumber int + PRState string + PRTitle string + Parent string + SHA string + Scope string + func GetDemoBranches() []Branch + type GitHubClient struct + func NewDemoGitHubClient() *GitHubClient + func (c *GitHubClient) BatchGetPRChecksStatus(ctx context.Context, branchNames []string) (map[string]*github.CheckStatus, error) + func (c *GitHubClient) BatchGetPRTitles(_ context.Context, _, _ string, prNumbers []int) (map[int]string, error) + func (c *GitHubClient) ClosePullRequest(_ context.Context, _, _ string, prNumber int) error + func (c *GitHubClient) CreatePRComment(_ context.Context, _, _ string, _ int, _ string) (int64, error) + func (c *GitHubClient) CreatePullRequest(_ context.Context, owner, repo string, opts github.CreatePROptions) (*github.PullRequestInfo, error) + func (c *GitHubClient) DeletePRComment(_ context.Context, _, _ string, _ int64) error + func (c *GitHubClient) GetAllowedMergeMethods(_ context.Context) (*github.MergeMethodSettings, error) + func (c *GitHubClient) GetCurrentUser(_ context.Context) (string, error) + func (c *GitHubClient) GetOwnerRepo() (string, string) + func (c *GitHubClient) GetPRChecksStatus(ctx context.Context, branchName string) (*github.CheckStatus, error) + func (c *GitHubClient) GetPullRequest(_ context.Context, _, _ string, prNumber int) (*github.PullRequestInfo, error) + func (c *GitHubClient) GetPullRequestByBranch(_ context.Context, _, _, branchName string) (*github.PullRequestInfo, error) + func (c *GitHubClient) ListPRComments(_ context.Context, _, _ string, _ int) ([]github.PRComment, error) + func (c *GitHubClient) MergePullRequest(_ context.Context, branchName string, _ github.MergePROptions) error + func (c *GitHubClient) UpdatePRComment(_ context.Context, _, _ string, _ int64, _ string) error + func (c *GitHubClient) UpdatePullRequest(_ context.Context, _, _ string, prNumber int, opts github.UpdatePROptions) ([]string, error)