Skip to content

Commit

Permalink
Missed an attribute
Browse files Browse the repository at this point in the history
Signed-off-by: Ashwin Elangovan <[email protected]>
  • Loading branch information
ashwin-elangovan committed Feb 19, 2024
1 parent a5e08fc commit 64c7492
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type DomainCheckResult struct {
func CheckDomain(email string) (string, error) {
domain := extractDomain(email)
var result DomainCheckResult
result.Domain = domain

// Check for MX records
mxRecords, err := net.LookupMX(domain)
Expand Down

0 comments on commit 64c7492

Please sign in to comment.