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

pkg

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssueFilterByCreator

type IssueFilterByCreator struct {
	Creator string
}

func (*IssueFilterByCreator) SetFilterOption

func (f *IssueFilterByCreator) SetFilterOption(option *issueFilterOption)

type IssueFilterByLabels

type IssueFilterByLabels struct {
	Labels []string
}

func (*IssueFilterByLabels) SetFilterOption

func (f *IssueFilterByLabels) SetFilterOption(option *issueFilterOption)

type IssueFilterByState

type IssueFilterByState struct {
	State string
}

func (*IssueFilterByState) SetFilterOption

func (f *IssueFilterByState) SetFilterOption(option *issueFilterOption)

type IssueFilterOption

type IssueFilterOption interface {
	SetFilterOption(*issueFilterOption)
}

type Website

type Website struct {
	User string
	Repo string
	Meta *models.Repository
	// options
	FilterOption issueFilterOption
	PerPage      int
	// data
	Issues []models.Issue
	// contains filtered or unexported fields
}

func NewWebsite

func NewWebsite(user, repo string, opts ...IssueFilterOption) *Website

func (*Website) CommentURL added in v0.2.0

func (w *Website) CommentURL(issueNumber int) string

func (*Website) FetchMeta added in v0.2.5

func (w *Website) FetchMeta(client *api.RESTClient, url string) (*models.Repository, error)

func (*Website) Generate

func (w *Website) Generate(cmd *models.Command) error

func (*Website) IssueURL

func (w *Website) IssueURL() string

func (*Website) MetaURL added in v0.2.5

func (w *Website) MetaURL() string

func (*Website) Retrieve

func (w *Website) Retrieve() error

nolint: funlen

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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