(value string)
| 153 | } |
| 154 | |
| 155 | func IsPresent(value string) (bool, string, string) { |
| 156 | if value == "" { |
| 157 | return false, value, "is empty" |
| 158 | } |
| 159 | |
| 160 | return true, value, "" |
| 161 | } |
| 162 | |
| 163 | func IsEmail(value string) (bool, string, string) { |
| 164 | if _, err := mail.ParseAddress(value); err == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected