Created
July 15, 2015 21:55
-
-
Save ericlagergren/32608750430630d17c69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
export TEST_VAR="Hello, world!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
) | |
func main() { | |
fmt.Println("test_var is: ", os.Getenv("TEST_VAR")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment