PRECIS applies UsernameCasePreserved to the local part and dns.ForLookup to domain part of the address.
(addr string)
| 139 | // PRECIS applies UsernameCasePreserved to the local part and dns.ForLookup |
| 140 | // to domain part of the address. |
| 141 | func PRECIS(addr string) (string, error) { |
| 142 | return precisEmail(addr, precis.UsernameCasePreserved) |
| 143 | } |
| 144 | |
| 145 | func precisEmail(addr string, profile *precis.Profile) (string, error) { |
| 146 | mbox, domain, err := Split(addr) |
nothing calls this directly
no test coverage detected