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

github

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidRepository = errors.New("invalid repository")

Functions

This section is empty.

Types

type Label

type Label struct {
	Name string `json:"name"`
}

type Labels

type Labels []Label

type Pull

type Pull struct {
	Number int    `json:"number"`
	Title  string `json:"title"`
	Head   Ref    `json:"head"`
	Base   Ref    `json:"base"`
	Labels Labels `json:"labels"`
}

type Pulls

type Pulls []Pull

type Ref

type Ref struct {
	Ref string `json:"ref"`
	SHA string `json:"sha"`
}

type Repo

type Repo struct {
	Owner string `json:"owner"`
	Repo  string `json:"repo"`
}

func ParseRepo

func ParseRepo(s string) (Repo, error)

func (Repo) PullsEndpoint

func (r Repo) PullsEndpoint() string

func (Repo) String

func (r Repo) String() string

Jump to

Keyboard shortcuts

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