api

package
v0.0.0-...-ec8fc24 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

func NewApi

func NewApi(client *http.Client) *API

func (*API) GetIssue

func (a *API) GetIssue(repo, id string) (*github.Issue, error)

func (*API) GetPR

func (a *API) GetPR(repo, id string) (*github.PullRequest, error)

func (*API) ListIssues

func (a *API) ListIssues(repo, state string) ([]*github.Issue, error)

func (*API) ListPRs

func (a *API) ListPRs(repo, state string) ([]*github.PullRequest, error)

Jump to

Keyboard shortcuts

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