Documentation
¶
Index ¶
- func GenerateCommentsFromDiff(ctx context.Context, openAIClient Completer, diff *github.CommitsComparison) ([]*github.PullRequestComment, error)
- func PushComments(ctx context.Context, prUpdated PullRequestUpdater, owner, repo string, ...) error
- type Completer
- type Issue
- type PullRequestUpdater
- type Quality
- type Review
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCommentsFromDiff ¶
func GenerateCommentsFromDiff(ctx context.Context, openAIClient Completer, diff *github.CommitsComparison) ([]*github.PullRequestComment, error)
func PushComments ¶
func PushComments(ctx context.Context, prUpdated PullRequestUpdater, owner, repo string, number int, comments []*github.PullRequestComment) error
Types ¶
type PullRequestUpdater ¶
type PullRequestUpdater interface {
CreatePullRequestComment(ctx context.Context, owner, repo string, number int, comment *github.PullRequestComment) (*github.PullRequestComment, error)
}
Click to show internal directories.
Click to hide internal directories.