(value string)
| 143 | } |
| 144 | |
| 145 | func ParseBool(value string) (bool, bool, string) { |
| 146 | parsedBool, err := strconv.ParseBool(value) |
| 147 | |
| 148 | if err != nil { |
| 149 | return false, false, "could not be parsed into a boolean" |
| 150 | } |
| 151 | |
| 152 | return true, parsedBool, "" |
| 153 | } |
| 154 | |
| 155 | func IsPresent(value string) (bool, string, string) { |
| 156 | if value == "" { |
no outgoing calls