Skip to content

Commit

Permalink
Replace gomail.v2 with github.com/go-mail/mail, fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Mar 29, 2018
1 parent 48aa4c2 commit 0555e49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Here is how to use [gomail](https://github.com/go-gomail/gomail) to send emails
import (
"github.com/qor/mailer"
"github.com/qor/mailer/gomailer"
gomail "gopkg.in/gomail.v2"
"github.com/go-gomail/gomail"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion gomailer/gomail.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package gomailer

import (
"github.com/go-gomail/gomail"
"github.com/qor/mailer"
gomail "gopkg.in/gomail.v2"
)

// Sender gomail struct
Expand Down
3 changes: 1 addition & 2 deletions gomailer/gomail_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import (
"strings"
"testing"

gomail "gopkg.in/gomail.v2"

"github.com/go-gomail/gomail"
"github.com/jinzhu/configor"
"github.com/qor/mailer"
"github.com/qor/mailer/gomailer"
Expand Down

1 comment on commit 0555e49

@cryptix
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jinzhu this change has no effect.

The new maintained version is https://github.com/go-mail/mail not go-gomail.

Please sign in to comment.