github

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2015 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultReviewIssueLabel      = "review"
	DefaultStoryImplementedLabel = "implemented"
)
View Source
const Id = "github"
View Source
const LocalConfigTemplate = "# no additional config required"

Variables

This section is empty.

Functions

func NewFactory added in v0.14.0

func NewFactory() common.CodeReviewToolFactory

Types

type Config

type Config interface {
	ReviewLabel() string
	StoryImplementedLabel() 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"`
		StoryImplementedLabel string `yaml:"story_implemented_label"`
	} `yaml:"github"`
}

Jump to

Keyboard shortcuts

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