shared

package
v2.11.0-pre0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IssueFromArgWithFields added in v2.3.0

func IssueFromArgWithFields(httpClient *http.Client, baseRepoFn func() (ghrepo.Interface, error), arg string, fields []string) (*api.Issue, ghrepo.Interface, error)

IssueFromArgWithFields loads an issue or pull request with the specified fields. If some of the fields could not be fetched by GraphQL, this returns a non-nil issue and a *PartialLoadError.

func PrintIssues

func PrintIssues(io *iostreams.IOStreams, prefix string, totalCount int, issues []api.Issue)

Types

type PartialLoadError added in v2.3.0

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

Jump to

Keyboard shortcuts

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