issue

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package issue provides context collection for GitHub issues.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

Collector orchestrates the collection of issue context

func NewCollector

func NewCollector(config CollectorConfig) *Collector

NewCollector creates a new issue Collector

func (*Collector) Collect

func (c *Collector) Collect(ctx context.Context) error

Collect gathers all issue context and writes it to the output directory

type CollectorConfig

type CollectorConfig struct {
	Owner     string
	Repo      string
	IssueNum  int
	Token     string
	OutputDir string
}

CollectorConfig holds configuration for collecting issue context

type IssueContext

type IssueContext struct {
	Info     *github.IssueInfo     `json:"info"`
	Comments []github.IssueComment `json:"comments"`
}

IssueContext holds the collected issue context

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL