(envStr string, key string)
| 42 | } |
| 43 | |
| 44 | func GetEnv(envStr string, key string) string { |
| 45 | envMap := EnvToMap(envStr) |
| 46 | return envMap[key] |
| 47 | } |
| 48 | |
| 49 | func SetEnv(envStr string, key string, val string) (string, error) { |
| 50 | if strings.ContainsAny(key, "=\x00") { |
nothing calls this directly
no test coverage detected