(val string)
| 210 | } |
| 211 | |
| 212 | func ParseBoolElseFalse(val string) (ret bool) { |
| 213 | ret, _ = ParseBool(val) |
| 214 | return |
| 215 | } |
| 216 | |
| 217 | func ParseBool(val string) (bool, error) { |
| 218 | switch strings.ToLower(strings.TrimSpace(val)) { |
nothing calls this directly
no test coverage detected