Versions in this module Expand all Collapse all v1 v1.5.0 Aug 3, 2026 Changes in this version + const CommentsPrefix + func GenCommentContent(commentPrefix string, delta cover.DeltaCovList) string + type GitPrComment struct + CommentFlag string + Ctx context.Context + GithubClient *github.Client + PrNumber int + RepoName string + RepoOwner string + RobotUserName string + func NewPrClient(...) *GitPrComment + func (c *GitPrComment) CreateGithubComment(commentPrefix string, diffCovList cover.DeltaCovList) (err error) + func (c *GitPrComment) EraseHistoryComment(commentPrefix string) error + func (c *GitPrComment) GetCommentFlag() string + func (c *GitPrComment) GetPrChangedFiles() (files []string, err error) + func (c *GitPrComment) PostComment(content, commentPrefix string) error + type PrComment interface + CreateGithubComment func(commentPrefix string, diffCovList cover.DeltaCovList) (err error) + EraseHistoryComment func(commentPrefix string) error + GetCommentFlag func() string + GetPrChangedFiles func() (files []string, err error) + PostComment func(content, commentPrefix string) error