M carrier_test.go +1 -0
@@ 8,6 8,7 @@ import (
)
func Example() {
+ // import "petersanchez.com/carrier"
svc := carrier.NewConsoleService()
msg := carrier.NewMessage()
msg.SetFrom("me@mydomain.com").
M ses/go.mod +1 -1
@@ 4,7 4,7 @@ go 1.17
require (
github.com/aws/aws-sdk-go v1.42.38
- petersanchez.com/carrier v0.0.0-20220121184203-a849b4c87359
+ petersanchez.com/carrier v0.1.0
)
require (
M ses/go.sum +3 -0
@@ 2,6 2,7 @@ github.com/aws/aws-sdk-go v1.42.38 h1:/f
github.com/aws/aws-sdk-go v1.42.38/go.mod h1:OGr6lGMAKGlG9CVrYnWYDKIyb829c6EVBRjxqjmPepc=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/emersion/go-message v0.15.0 h1:urgKGqt2JAc9NFJcgncQcohHdiYb803YTH9OQwHBHIY=
github.com/emersion/go-message v0.15.0/go.mod h1:wQUEfE+38+7EW8p8aZ96ptg6bAb1iwdgej19uXASlE4=
github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594 h1:IbFBtwoTQyw0fIM5xv1HF+Y+3ZijDR839WMulgxCcUY=
@@ 25,3 26,5 @@ gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
petersanchez.com/carrier v0.0.0-20220121184203-a849b4c87359 h1:uAwdeW3HPaKzvIMcLFvNfkPSbYa6/IRsxXgDDB5N4ko=
petersanchez.com/carrier v0.0.0-20220121184203-a849b4c87359/go.mod h1:S98n9YxPLfj0B3iCjMIVssjlKI6Bvc8PbGVmVFkggfw=
+petersanchez.com/carrier v0.1.0 h1:8hzO/7keWU9EBDLPqqlD8TwzjNnvj4N+xLDVM+kvPbQ=
+petersanchez.com/carrier v0.1.0/go.mod h1:S98n9YxPLfj0B3iCjMIVssjlKI6Bvc8PbGVmVFkggfw=
M ses/ses_test.go +4 -0
@@ 9,6 9,10 @@ import (
)
func Example() {
+ // import (
+ // "petersanchez.com/carrier"
+ // "petersanchez.com/carrier/ses"
+ // )
conf := &ses.MailConfig{
AccessID: "<YOUR ACCESS KEY>",
SecretKey: "<YOUR SECRET KEY>",
M smtp/go.mod +1 -1
@@ 5,7 5,7 @@ go 1.17
require (
github.com/emersion/go-sasl v0.0.0-20211008083017-0b9dcfb154ac
github.com/emersion/go-smtp v0.15.1-0.20220119145048-f9aa4f40ae74
- petersanchez.com/carrier v0.0.0-20220121184203-a849b4c87359
+ petersanchez.com/carrier v0.1.0
)
require (
M smtp/go.sum +2 -0
@@ 13,3 13,5 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
petersanchez.com/carrier v0.0.0-20220121184203-a849b4c87359 h1:uAwdeW3HPaKzvIMcLFvNfkPSbYa6/IRsxXgDDB5N4ko=
petersanchez.com/carrier v0.0.0-20220121184203-a849b4c87359/go.mod h1:S98n9YxPLfj0B3iCjMIVssjlKI6Bvc8PbGVmVFkggfw=
+petersanchez.com/carrier v0.1.0 h1:8hzO/7keWU9EBDLPqqlD8TwzjNnvj4N+xLDVM+kvPbQ=
+petersanchez.com/carrier v0.1.0/go.mod h1:S98n9YxPLfj0B3iCjMIVssjlKI6Bvc8PbGVmVFkggfw=
M smtp/smtp_test.go +4 -0
@@ 9,6 9,10 @@ import (
)
func Example() {
+ // import (
+ // "petersanchez.com/carrier"
+ // "petersanchez.com/carrier/smtp"
+ // )
conf := &smtp.MailConfig{
SMTPPort: 587,
SMTPHost: "smtp.yourdomain.com",