Skip to content

Commit d057a58

Browse files
committed
go fmt
1 parent 78a6282 commit d057a58

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

dmarc.go

+15-15
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
type AlignmentMode string
1414

1515
const (
16-
AlignmentStrict AlignmentMode = "s"
17-
AlignmentRelaxed = "r"
16+
AlignmentStrict AlignmentMode = "s"
17+
AlignmentRelaxed = "r"
1818
)
1919

2020
type FailureOptions int
@@ -29,9 +29,9 @@ const (
2929
type Policy string
3030

3131
const (
32-
PolicyNone Policy = "none"
33-
PolicyQuarantine = "quarantine"
34-
PolicyReject = "reject"
32+
PolicyNone Policy = "none"
33+
PolicyQuarantine = "quarantine"
34+
PolicyReject = "reject"
3535
)
3636

3737
type ReportFormat string
@@ -42,16 +42,16 @@ const (
4242

4343
// Record is a DMARC record, as defined in RFC 7489 section 6.3.
4444
type Record struct {
45-
DKIMAlignment AlignmentMode // "adkim"
46-
SPFAlignment AlignmentMode // "aspf"
47-
FailureOptions FailureOptions // "fo"
48-
Policy Policy // "p"
49-
Percent *int // "pct"
50-
ReportFormat []ReportFormat // "rf"
51-
ReportInterval time.Duration // "ri"
52-
ReportURIAggregate []string // "rua"
53-
ReportURIFailure []string // "ruf"
54-
SubdomainPolicy Policy // "sp"
45+
DKIMAlignment AlignmentMode // "adkim"
46+
SPFAlignment AlignmentMode // "aspf"
47+
FailureOptions FailureOptions // "fo"
48+
Policy Policy // "p"
49+
Percent *int // "pct"
50+
ReportFormat []ReportFormat // "rf"
51+
ReportInterval time.Duration // "ri"
52+
ReportURIAggregate []string // "rua"
53+
ReportURIFailure []string // "ruf"
54+
SubdomainPolicy Policy // "sp"
5555
}
5656

5757
type tempFailError string

0 commit comments

Comments
 (0)