Skip to content

Commit

Permalink
Merge pull request #224 from catlinman/master
Browse files Browse the repository at this point in the history
Fix spelling and formatting of comments in mail_v3.go
  • Loading branch information
thinkingserious authored Oct 29, 2017
2 parents e440661 + c2ba441 commit 88e3a55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helpers/mail/mail_v3.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
)

// SGMailV3 contains mail struct
// SGMailV3 contains mail struct
type SGMailV3 struct {
From *Email `json:"from,omitempty"`
Subject string `json:"subject,omitempty"`
Expand Down Expand Up @@ -39,19 +39,19 @@ type Personalization struct {
SendAt int `json:"send_at,omitempty"`
}

// Email holds email Name and adress info
// Email holds email name and address info
type Email struct {
Name string `json:"name,omitempty"`
Address string `json:"email,omitempty"`
}

// Content defines content of the mail body
// Content defines content of the mail body
type Content struct {
Type string `json:"type,omitempty"`
Value string `json:"value,omitempty"`
}

// Attachment holds attachement information
// Attachment holds attachement information
type Attachment struct {
Content string `json:"content,omitempty"`
Type string `json:"type,omitempty"`
Expand Down

0 comments on commit 88e3a55

Please sign in to comment.