Versions in this module Expand all Collapse all v1 v1.0.1 Apr 27, 2026 Changes in this version + type AzureReposExtra struct + InitActive bool + TLSConfig *tls.Config + Tag string + Token string + type BitbucketExtra struct + OmitDetails bool + ServerURL string + TLSConfig *tls.Config + Tag string + Token string + type Comment interface + Body func() string + IsHidden func() bool + Less func(c Comment) bool + Ref func() string + ValidAt func() *time.Time + type CommentHandler struct + PlatformHandler PlatformHandler + Tag string + func NewAzureReposPRHandler(ctx context.Context, repoURL string, targetRef string, extra AzureReposExtra) (*CommentHandler, error) + func NewBitbucketCommitHandler(ctx context.Context, repo string, targetRef string, extra BitbucketExtra) (*CommentHandler, error) + func NewBitbucketPRHandler(ctx context.Context, repo string, targetRef string, extra BitbucketExtra) (*CommentHandler, error) + func NewCommentHandler(ctx context.Context, platformHandler PlatformHandler, tag string) *CommentHandler + func NewGitHubCommitHandler(ctx context.Context, project, targetRef string, extra GitHubExtra) (*CommentHandler, error) + func NewGitHubPRHandler(ctx context.Context, project, targetRef string, extra GitHubExtra) (*CommentHandler, error) + func NewGitLabCommitHandler(ctx context.Context, project string, targetRef string, extra GitLabExtra) (*CommentHandler, error) + func NewGitLabPRHandler(ctx context.Context, project string, targetRef string, extra GitLabExtra) (*CommentHandler, error) + func (h *CommentHandler) CommentWithBehavior(ctx context.Context, behavior, body string, opts *CommentOpts) (PostResult, error) + func (h *CommentHandler) DeleteAndNewComment(ctx context.Context, body string, opts *CommentOpts) (PostResult, error) + func (h *CommentHandler) HideAndNewComment(ctx context.Context, body string, opts *CommentOpts) (PostResult, error) + func (h *CommentHandler) NewComment(ctx context.Context, body string, opts *CommentOpts) error + func (h *CommentHandler) UpdateComment(ctx context.Context, body string, opts *CommentOpts) (PostResult, error) + type CommentOpts struct + SkipNoDiff bool + ValidAt *time.Time + type CommentTag struct + Key string + Value string + type GitHubExtra struct + APIURL string + TLSConfig *tls.Config + Tag string + Token string + type GitLabExtra struct + ServerURL string + TLSConfig *tls.Config + Tag string + Token string + type PlatformHandler interface + AddMarkdownTags func(s string, tags []CommentTag) (string, error) + CallCreateComment func(ctx context.Context, body string) (Comment, error) + CallDeleteComment func(ctx context.Context, comment Comment) error + CallFindMatchingComments func(ctx context.Context, tag string) ([]Comment, error) + CallHideComment func(ctx context.Context, comment Comment) error + CallUpdateComment func(ctx context.Context, comment Comment, body string) error + type PostResult = struct + Posted bool + SkipReason string