gh

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 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 GitHubService

type GitHubService interface {
	GetPullRequests() []PullRequest
	GetPullRequestForBranch(branch string) *PullRequest
	CreatePullRequest() error
	Prompt(promptText string, defaultVal string, values []string) (int, error)
}

func NewGitHubService

func NewGitHubService() GitHubService

type PullRequest

type PullRequest struct {
	BaseRefName string `json:"baseRefName"`
	HeadRefName string `json:"headRefName"`
	Id          string `json:"id"`
	Number      int    `json:"number"`
	Url         string `json:"url"`
}

Jump to

Keyboard shortcuts

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