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

pullreqs

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(ctx context.Context, in *FetchInput, fn ...func(list []*github.PullRequest) error) ([]*github.PullRequest, error)

func Get

func Get(ctx context.Context, in *GetInput) (*github.PullRequest, error)

Types

type FetchInput

type FetchInput struct {
	Owner      string
	Repository string
	PAT        string
	Page       int
	PerPage    int
	State      string
	LastID     int64
}

type GetInput

type GetInput struct {
	Owner      string
	Repository string
	PAT        string
	Number     int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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