Skip to content

Commit

Permalink
Remove AutoGenerated struct comment
Browse files Browse the repository at this point in the history
Not really needed now the code's been written fully, and also slightly
misleading since the JSON the site provides has now changed.
  • Loading branch information
StevenMaude committed May 20, 2017
1 parent acd3049 commit 2a7a1d3
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,6 @@ import (
"os"
)

/* Full mail struct for posterity; generated from https://mholt.github.io/json-to-go/
type AutoGenerated struct {
Data struct {
Fromfull string `json:"fromfull"`
Headers struct {
MimeVersion string `json:"mime-version"`
Date string `json:"date"`
Subject string `json:"subject"`
XSgEid string `json:"x-sg-eid"`
MessageID string `json:"message-id"`
Received string `json:"received"`
From string `json:"from"`
ContentType string `json:"content-type"`
To string `json:"to"`
DkimSignature string `json:"dkim-signature"`
} `json:"headers"`
Subject string `json:"subject"`
RequestID string `json:"requestId"`
Parts []struct {
Headers struct {
ContentTransferEncoding string `json:"content-transfer-encoding"`
ContentType string `json:"content-type"`
} `json:"headers"`
Body string `json:"body"`
} `json:"parts"`
From string `json:"from"`
Origfrom string `json:"origfrom"`
To string `json:"to"`
ID string `json:"id"`
Time int64 `json:"time"`
SecondsAgo int `json:"seconds_ago"`
} `json:"data"`
} */

type mail struct {
Data struct {
Subject string `json:"subject"`
Expand Down

0 comments on commit 2a7a1d3

Please sign in to comment.