Expand replaces ${var} or $var in the string based on the mapping function. For example, os.ExpandEnv is equivalent to [os.Expand](s, [os.Getenv]).
Generated using TypeDoc
Expand replaces ${var} or $var in the string based on the mapping function. For example, os.ExpandEnv is equivalent to [os.Expand](s, [os.Getenv]).