github

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2016 License: MIT Imports: 15 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ModuleId   = "salsaflow.modules.codereview.github"
	ModuleKind = loader.ModuleKindCodeReview
)

Variables

This section is empty.

Functions

func NewModule

func NewModule() loader.Module

Types

type GlobalConfig

type GlobalConfig struct {
	Token string `prompt:"token to be used for creating GitHub review issues" secret:"true" json:"token"`
}

func (*GlobalConfig) PromptUserForConfig

func (global *GlobalConfig) PromptUserForConfig() error

PromptUserForConfig is a part of loader.ConfigContainer interface.

type LocalConfig

type LocalConfig struct {
	ReviewLabel           string `prompt:"with"           default:"review"      json:"review_issue_label"`
	StoryImplementedLabel string `prompt:"as implemented" default:"implemented" json:"story_implemented_label"`
}

func (*LocalConfig) PromptUserForConfig

func (local *LocalConfig) PromptUserForConfig() error

PromptUserForConfig is a part of loader.ConfigContainer interface.

Jump to

Keyboard shortcuts

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