Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) CleanupOldComments(ctx context.Context, prNumber int) error
- func (c *Client) FindBotComment(ctx context.Context, prNumber int, identifier string) (*github.IssueComment, error)
- func (c *Client) GetPRInfo() (*PREvent, error)
- func (c *Client) PostOrUpdateComment(ctx context.Context, prNumber int, content string) error
- type PREvent
Constants ¶
View Source
const BotCommentIdentifier = "🍲 miso Code review"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CleanupOldComments ¶
CleanupOldComments finds all comments posted by the bot with the specific identifier and deletes all but the most recent one.
func (*Client) FindBotComment ¶
Click to show internal directories.
Click to hide internal directories.