config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENV_GITHUB_TOKEN    = "GITHUB_TOKEN"
	ENV_PULL_REQUEST_ID = "CIRCLE_PULL_REQUEST"
	ENV_REPO_NAME       = "CIRCLE_PROJECT_REPONAME"
	ENV_REPO_OWNER      = "CIRCLE_PROJECT_USERNAME"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	LogFile       string
	TagId         string
	RepoName      string
	RepoOwner     string
	GithubToken   string
	PullRequest   int
	DeleteComment bool
}

func (*AppConfig) Init

func (a *AppConfig) Init() error

type ConfigValidationError added in v1.1.0

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

func (*ConfigValidationError) Error added in v1.1.0

func (e *ConfigValidationError) Error() string

Jump to

Keyboard shortcuts

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