pr

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidURL

func ValidURL(url string) bool

ValidURL reports whether url is a well-formed GitHub pull-request URL.

Types

type Status

type Status string
const (
	None   Status = "none"
	Open   Status = "open"
	Merged Status = "merged"
	Closed Status = "closed"
	Draft  Status = "draft"
)

func Check

func Check(ctx context.Context, url string) (Status, error)

func ParseGHState

func ParseGHState(data []byte) (Status, error)

Jump to

Keyboard shortcuts

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