Versions in this module Expand all Collapse all v1 v1.0.0 Jan 19, 2025 Changes in this version + type Client struct + func NewClient(token string) *Client + func (c *Client) AddLabelsToIssue(ctx context.Context, owner, repo string, issueNumber int, labels []string) error + func (c *Client) CreateIssueComment(ctx context.Context, owner, repo string, issueNumber int, comment string) error + func (c *Client) GetLabelsForAIAnalysis(ctx context.Context, owner, repo string) (string, []*github.Label, error) + func (c *Client) GetRepositoryContent(ctx context.Context, owner, repo string) ([]GitHubFile, error) + func (c *Client) GetRepositoryLabels(ctx context.Context, owner, repo string) ([]*github.Label, error) + func (c *Client) WithFileFilter(filter FileFilter) *Client + type FileFilter struct + AllowedExtensions []string + AllowedFiles []string + ExcludedFiles []string + ExcludedPaths []string + func DefaultFileFilter() FileFilter + type GitHubFile struct + Content string + Path string + type LabelAnalysis struct + Explanation string + SuggestedLabels map[string]float64