issue

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package issue provides data structures and error types for handling forge issues.

Package issue provides data structures and error types for handling forge issues.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrIssueNotFound              = errors.New("issue not found")
	ErrIssueClosed                = errors.New("issue is closed, only open issues are supported")
	ErrInvalidIssueReference      = errors.New("invalid issue reference format")
	ErrIssueNumberRequiresContext = errors.New("issue number format requires repository context")
)

Issue-specific error types.

Functions

This section is empty.

Types

type Info

type Info struct {
	Number      int    `yaml:"number"`
	Title       string `yaml:"title"`
	Description string `yaml:"description,omitempty"`
	State       string `yaml:"state,omitempty"`
	URL         string `yaml:"url,omitempty"`
	Repository  string `yaml:"repository,omitempty"`
	Owner       string `yaml:"owner,omitempty"`
}

Info represents information about a forge issue.

type Reference

type Reference struct {
	Owner       string
	Repository  string
	IssueNumber int
	URL         string
}

Reference represents a parsed issue reference.

Jump to

Keyboard shortcuts

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