You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
125 B

2 years ago
  1. package util
  2. import "os"
  3. func SetEnv(key, value string) {
  4. if err := os.Setenv(key, value); err != nil {
  5. panic(err)
  6. }
  7. }