Help us shape the future of Go! Take the 2026 Go Developer Survey

filter

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubIssue

type GitHubIssue struct {
	Number int    `json:"number"`
	Title  string `json:"title"`
	ID     string `json:"node_id"`
	URL    string `json:"html_url"`
}

GitHubIssue represents a basic GitHub issue

type IssueFilters

type IssueFilters struct {
	// GitHub issue list compatible filters
	Labels    []string `json:"labels,omitempty"`
	Assignee  string   `json:"assignee,omitempty"`
	Author    string   `json:"author,omitempty"`
	State     string   `json:"state,omitempty"`
	Milestone string   `json:"milestone,omitempty"`
	Search    string   `json:"search,omitempty"`
	Limit     int      `json:"limit,omitempty"`
	Mention   string   `json:"mention,omitempty"`
	App       string   `json:"app,omitempty"`

	// Project-specific filters
	Status   string `json:"status,omitempty"`
	Priority string `json:"priority,omitempty"`
}

IssueFilters contains common filtering options compatible with gh issue list

func NewIssueFilters

func NewIssueFilters() *IssueFilters

NewIssueFilters creates a new IssueFilters with default values

type ProjectIssue

type ProjectIssue struct {
	Number     int                    `json:"number"`
	Title      string                 `json:"title"`
	State      string                 `json:"state"`
	URL        string                 `json:"url"`
	ID         string                 `json:"id"`
	Body       string                 `json:"body,omitempty"`
	Author     string                 `json:"author,omitempty"`
	Assignees  []string               `json:"assignees,omitempty"`
	Labels     []string               `json:"labels,omitempty"`
	Milestone  string                 `json:"milestone,omitempty"`
	CreatedAt  string                 `json:"createdAt,omitempty"`
	UpdatedAt  string                 `json:"updatedAt,omitempty"`
	ClosedAt   string                 `json:"closedAt,omitempty"`
	Comments   int                    `json:"comments,omitempty"`
	ProjectURL string                 `json:"projectUrl,omitempty"`
	Fields     map[string]interface{} `json:"fields,omitempty"`
}

ProjectIssue represents an issue with project-specific fields

Jump to

Keyboard shortcuts

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