(val string)
| 187 | } |
| 188 | |
| 189 | func ParseBoolElseFalse(val string) (ret bool) { |
| 190 | ret, _ = ParseBool(val) |
| 191 | return |
| 192 | } |
| 193 | |
| 194 | func ParseBool(val string) (bool, error) { |
| 195 | switch strings.ToLower(strings.TrimSpace(val)) { |
nothing calls this directly
no test coverage detected