DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
os.ExpandEnv()
Examples using...
os.ExpandEnv()
Recent
Examples
ExpandEnv in Go
by GoDoc
Go
os.ExpandEnv
os.Setenv
fmt
fmt.Println
os
ExpandEnv replaces ${var} or $var in the string according to the values of the current environment variables. References to undefined variables are replaced by the empty string.