conf

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 4 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

func InitLogger added in v0.1.3

func InitLogger()

Types

This section is empty.

Jump to

Keyboard shortcuts

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