M README.md +5 -5
@@ 9,7 9,7 @@ A simple module to send email via variou
**Author:** Peter Sanchez (<https://petersanchez.com>)
-[docs]: https://godocs.io/petersanchez.com/carrier
+[docs]: https://godocs.io/petersanchez.com/x/carrier
[issues]: https://todo.code.netlandish.com/~petersanchez/carrier
[pinbox]: https://lists.code.netlandish.com/~petersanchez/public-inbox
@@ 27,8 27,8 @@ The following delivery services are curr
Click each service above to see the docs
-[smtp]: https://godocs.io/petersanchez.com/carrier/smtp
-[ses]: https://godocs.io/petersanchez.com/carrier/ses
+[smtp]: https://godocs.io/petersanchez.com/x/carrier/smtp
+[ses]: https://godocs.io/petersanchez.com/x/carrier/ses
## Example usage
@@ 39,8 39,8 @@ example we will use the SMTP service.
```
import (
...
- "petersanchez.com/carrier",
- "petersanchez.com/carrier/smtp",
+ "petersanchez.com/x/carrier",
+ "petersanchez.com/x/carrier/smtp",
...
)
M carrier_test.go +1 -1
@@ 4,7 4,7 @@ import (
"log"
"os"
- "petersanchez.com/carrier"
+ "petersanchez.com/x/carrier"
)
func Example() {
M go.mod +1 -1
@@ 1,4 1,4 @@
-module petersanchez.com/carrier
+module petersanchez.com/x/carrier
go 1.17
M ses/ses.go +1 -1
@@ 8,7 8,7 @@ import (
"github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/ses"
- "petersanchez.com/carrier"
+ "petersanchez.com/x/carrier"
)
// Service Direct delivery via AWS SES connection
M ses/ses_test.go +4 -4
@@ 4,14 4,14 @@ import (
"log"
"os"
- "petersanchez.com/carrier"
- "petersanchez.com/carrier/ses"
+ "petersanchez.com/x/carrier"
+ "petersanchez.com/x/carrier/ses"
)
func Example() {
// import (
- // "petersanchez.com/carrier"
- // "petersanchez.com/carrier/ses"
+ // "petersanchez.com/x/carrier"
+ // "petersanchez.com/x/carrier/ses"
// )
conf := &ses.MailConfig{
AccessID: "<YOUR ACCESS KEY>",
M smtp/smtp.go +1 -1
@@ 6,7 6,7 @@ import (
"github.com/emersion/go-sasl"
"github.com/emersion/go-smtp"
- "petersanchez.com/carrier"
+ "petersanchez.com/x/carrier"
)
// Service Direct delivery via SMTP connection
M smtp/smtp_test.go +4 -4
@@ 4,14 4,14 @@ import (
"log"
"os"
- "petersanchez.com/carrier"
- "petersanchez.com/carrier/smtp"
+ "petersanchez.com/x/carrier"
+ "petersanchez.com/x/carrier/smtp"
)
func Example() {
// import (
- // "petersanchez.com/carrier"
- // "petersanchez.com/carrier/smtp"
+ // "petersanchez.com/x/carrier"
+ // "petersanchez.com/x/carrier/smtp"
// )
conf := &smtp.MailConfig{
SMTPPort: 587,