pr

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2017 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateMessage

func UpdateMessage(ed editor.Editor, pr *github.PullRequest) error

UpdateMessage uses the given editor to edit the commit message of the given PR.

Types

type LandRequest

type LandRequest struct {
	// PullRqeuest to land
	PullRequest *github.PullRequest

	// Name of the local branch that points to this PR or an empty string if a
	// local branch for this PR is not known.
	LocalBranch string
}

LandRequest is a request to land the given pull request.

type Service

type Service struct {
	GitHub gateway.GitHub
	Editor editor.Editor
	Git    gateway.Git
}

Service TODO

func (*Service) Land

func (s *Service) Land(req *LandRequest) error

Land the given pull request.

Jump to

Keyboard shortcuts

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