Skip to content

Commit f1225c8

Browse files
committed
Improve docs
1 parent d057a58 commit f1225c8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dmarc.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ const (
2020
type FailureOptions int
2121

2222
const (
23-
FailureAll FailureOptions = 1 << iota // "0"
24-
FailureAny
25-
FailureDKIM
26-
FailureSPF
23+
FailureAll FailureOptions = 1 << iota // "0"
24+
FailureAny // "1"
25+
FailureDKIM // "d"
26+
FailureSPF // "s"
2727
)
2828

2929
type Policy string
@@ -60,7 +60,7 @@ func (err tempFailError) Error() string {
6060
return "dmarc: " + string(err)
6161
}
6262

63-
// IsTempFail returns true if the error returned by Verify is a temporary
63+
// IsTempFail returns true if the error returned by Lookup is a temporary
6464
// failure.
6565
func IsTempFail(err error) bool {
6666
_, ok := err.(tempFailError)

0 commit comments

Comments
 (0)