Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling and formatting of comments in mail_v3.go #224

Merged
merged 1 commit into from
Oct 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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