Closed
Description
Please answer these questions before submitting your issue. Thanks!
- What version of Go are you using (
go version
)?
go version go1.7 linux/amd64
- What operating system and processor architecture are you using (
go env
)?
GOARCH="amd64"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
- What did you do?
https://play.golang.org/p/-chU68uIbC - What did you expect to see?
/first/value:/second/value - What did you see instead?
$ENV1:$ENV2
I'm working on an example for the "os" package to help a little on the issue 16360.
According to how os.Expand is implemented this is not a bug, but I was expecting that this function would recursively fetch the environment variables in order to expand it.
Is this a wanted behavior?