package envsubst

Import Path
	github.com/carapace-sh/carapace/third_party/github.com/drone/envsubst (on go.dev)

Dependency Relation
	imports 10 packages, and imported by one package

Involved Source Files eval.go funcs.go template.go
Package-Level Type Names (only one)
/* sort by: | */
Template is the representation of a parsed shell format string. Execute applies a parsed template to the specified data mapping. func Parse(s string) (t *Template, err error) func ParseFile(path string) (*Template, error)
Package-Level Functions (total 4)
Eval replaces ${var} in the string based on the mapping function.
EvalEnv replaces ${var} in the string according to the values of the current environment variables. References to undefined variables are replaced by the empty string.
Parse creates a new shell format template and parses the template definition from string s.
ParseFile creates a new shell format template and parses the template definition from the named file.