cfg

package
v0.0.0-...-7607688 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnvWithoutCfgKey  = "without"
	EnvWithoutPCfgKey = "withoutp"
)

Functions

func EnvFile

func EnvFile(g bool) (string, error)

func GetCfg

func GetCfg(key string) string

func GetEnv

func GetEnv() (map[string]string, error)

func GetGlobalEnv

func GetGlobalEnv() (map[string]string, error)

func GetProjectEnv

func GetProjectEnv() (map[string]string, error)

Types

type EnvVar

type EnvVar struct {
	G     bool
	Name  string
	Value string
}

Jump to

Keyboard shortcuts

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