github

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBugTracker

func NewBugTracker(token string, repository string) bugtracker.BugTracker

func NewBugTrackerWithAPI

func NewBugTrackerWithAPI(token string, apiURL string, repository string) bugtracker.BugTracker

func NewMergeParser

func NewMergeParser() parser.Parser

func NewSquashParser

func NewSquashParser() parser.Parser

Types

type GitHub

type GitHub struct {
	Token      string
	API_URL    string
	Repository string
}

func (GitHub) Equal

func (g GitHub) Equal(other bugtracker.BugTracker) bool

func (GitHub) FindIssue

func (g GitHub) FindIssue(id string) (*bugtracker.Issue, error)

type PullRequestResponse

type PullRequestResponse struct {
	ID      int    `json:"number"`
	Subject string `json:"title"`
	Link    string `json:"html_url"`
}

Jump to

Keyboard shortcuts

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