github

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2015 License: MIT Imports: 14 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 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