pulls

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 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
JackTT - Gopher 🇻🇳