(key string)
| 101 | } |
| 102 | |
| 103 | func envBool(key string) bool { |
| 104 | value := strings.TrimSpace(strings.ToLower(os.Getenv(key))) |
| 105 | return value == "1" || value == "true" || value == "yes" || value == "on" |
| 106 | } |
| 107 | |
| 108 | func splitCSV(value string) []string { |
| 109 | parts := strings.Split(value, ",") |
no outgoing calls
no test coverage detected