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

pulls

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPullRequest

func GetPullRequest(client *api.RESTClient, owner, name, prNumber string, pull *Pull)

func MergePullRequest

func MergePullRequest(client *api.RESTClient, owner, name, prNumber string, merge *Merge)

func WaitForMergable

func WaitForMergable(client *api.RESTClient, owner, name, prNumber string) bool

Types

type Merge

type Merge struct {
	Merged  bool
	Message string
}

type Pull

type Pull struct {
	Mergeable bool
	State     string
}

Jump to

Keyboard shortcuts

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