issue

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: GPL-3.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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