config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Story label.
	StoryLabelList string `envconfig:"STORY_LABELS" default:"enhancement,bug"`

	// StoryLabels contains parsed StoryLabelList.
	StoryLabels []string

	// State labels.
	ApprovedLabel         string `envconfig:"APPROVED_LABEL"          default:"approved"`
	BeingImplementedLabel string `envconfig:"BEING_IMPLEMENTED_LABEL" default:"being implemented"`
	ImplementedLabel      string `envconfig:"IMPLEMENTED_LABEL"       default:"implemented"`
	ReviewedLabel         string `envconfig:"REVIEWED_LABEL"          default:"reviewed"`
	SkipReviewLabel       string `envconfig:"SKIP_REVIEW_LABEL"       default:"no review"`
	PassedTestingLabel    string `envconfig:"PASSED_TESTING_LABEL"    default:"qa+"`
	FailedTestingLabel    string `envconfig:"FAILED_TESTING_LABEL"    default:"qa-"`
	SkipTestingLabel      string `envconfig:"SKIP_TESTING_LABEL"      default:"no qa"`
	StagedLabel           string `envconfig:"STAGED_LABEL"            default:"staged"`
	RejectedLabel         string `envconfig:"REJECTED_LABEL"          default:"rejected"`
}

func Get

func Get() Config

Jump to

Keyboard shortcuts

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