pulumi/pkg/codegen/testing/test/testdata/regress-go-12971/go-extras
Abhinav Gupta c1fb837cd1
fix(sdkgen/go): Handle env unset versus empty
Switches getEnvOrDefaul to os.LookupEnv,
which returns whether the environment variable was set,
even if it was set to blank.
This lets env-var-based defaults differentiate between
empty and unset.

Without this change, an empty string default is not allowed via
environment variables.
2023-05-19 11:53:55 -07:00
..
tests fix(sdkgen/go): Handle env unset versus empty 2023-05-19 11:53:55 -07:00