Documentation
¶
Index ¶
- func All(environ []string, systemLookup func(string) string) (map[string]string, error)
- func AllRaw(environ []string) map[string]string
- func Exists(environ []string, name string) bool
- func Lookup(environ []string, name string, systemLookup func(string) string) (string, bool, error)
- func LookupRaw(environ []string, name string) (string, bool)
- type GraphEvaluator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
Evaluate an array of key=value strings in the dotenv syntax, and return a map of evaluated variables
func AllRaw ¶
Evaluate an array of key=value strings in the dotenv syntax, in raw mode: values are left unprocessed.
Types ¶
type GraphEvaluator ¶
type GraphEvaluator struct {
// contains filtered or unexported fields
}
GraphEvaluator evaluates dotenv variables with dependency resolution and cycle detection
func NewGraphEvaluator ¶
func NewGraphEvaluator(environ []string, systemLookup func(string) string) (*GraphEvaluator, error)
NewGraphEvaluator creates a new graph-based evaluator
Click to show internal directories.
Click to hide internal directories.