Skip to content

Commit

Permalink
Formatting fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
DusanKasan committed Apr 18, 2017
1 parent e668cf2 commit b974c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parsemail.go
Expand Up @@ -295,7 +295,7 @@ func decodeAttachment(part *multipart.Part) (at Attachment, err error) {

type headerParser struct {
header *mail.Header
err error
err error
}

func (hp headerParser) parseAddress(s string) (ma *mail.Address) {
Expand Down Expand Up @@ -326,7 +326,7 @@ func (hp headerParser) parseAddressList(s string) (ma []*mail.Address) {
}

func (hp headerParser) parseTime(s string) (t time.Time) {
if hp.err != nil || s == ""{
if hp.err != nil || s == "" {
return
}

Expand Down

0 comments on commit b974c63

Please sign in to comment.