conf

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitlabBaseUrl      = "GITLAB_BASE_URL"
	GitlabAccessToken  = "GITLAB_ACCESS_TOKEN"
	GitlabUsername     = "GITLAB_USERNAME"
	GitlabLocalBaseDir = "GITLAB_LOCAL_BASE_DIR"
)
View Source
const (
	GitDomainGithub = 1
	GitDomainGitlab = 2
)
View Source
const (
	GitDefaultDomain = "GITOOL_DEFAULT_DOMAIN"
)

Variables

View Source
var Config = map[string]string{}

Functions

func Get

func Get(key string) string

func GetOrDefault

func GetOrDefault(key string, def string) string

func InitEnv

func InitEnv() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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