github

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2015 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultReviewIssueLabel = "review"
View Source
const Id = "github"

Variables

This section is empty.

Functions

func Factory

func Factory() (common.CodeReviewTool, error)

Types

type Config

type Config interface {
	ReviewLabel() string
	Token() string
}

func LoadConfig

func LoadConfig() (Config, error)

type ErrMilestoneNotFound added in v0.8.0

type ErrMilestoneNotFound struct {
	// contains filtered or unexported fields
}

func (*ErrMilestoneNotFound) Error added in v0.8.0

func (err *ErrMilestoneNotFound) Error() string

type GlobalConfig

type GlobalConfig struct {
	GitHub struct {
		Token string `yaml:"token"`
	} `yaml:"github"`
}

type LocalConfig

type LocalConfig struct {
	GitHub struct {
		ReviewLabel string `yaml:"review_issue_label"`
	} `yaml:"github"`
}

Jump to

Keyboard shortcuts

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