author | Alberto Bertogli
<albertito@blitiri.com.ar> 2016-10-12 23:32:06 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2016-10-21 21:13:39 UTC |
parent | 9a9651cbf765cde8d399276b68ffc2503f9c3c38 |
spf.go | +3 | -3 |
diff --git a/spf.go b/spf.go index 7e158c9..fbc28d6 100644 --- a/spf.go +++ b/spf.go @@ -30,9 +30,9 @@ import ( // Functions that we can override for testing purposes. var ( - lookupTXT func(domain string) (txts []string, err error) = net.LookupTXT - lookupMX func(domain string) (mxs []*net.MX, err error) = net.LookupMX - lookupIP func(host string) (ips []net.IP, err error) = net.LookupIP + lookupTXT = net.LookupTXT + lookupMX = net.LookupMX + lookupIP = net.LookupIP ) // Results and Errors. Note the values have meaning, we use them in headers.