Skip to content

Commit

Permalink
Make response as snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakputhraya committed Apr 30, 2021
1 parent 69de5e3 commit 989cf8f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions email.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ var wildcardDisposableDomains []string
var disposableDomains []string

type EmailDetails struct {
Email string
Domain string
IsValid bool
IsDisposable bool
IsRoleBased bool
IsFree bool
Username string
Email string `json:"email"`
Domain string `json:"domain"`
IsValid bool `json:"is_valid"`
IsDisposable bool `json:"is_disposable"`
IsRoleBased bool `json:"is_role_based"`
IsFree bool `json:"is_free"`
Username string `json:"username"`
}

func readFile(filename string) ([]string, error) {
Expand Down

0 comments on commit 989cf8f

Please sign in to comment.