Skip to content

Commit

Permalink
chore: v2 mod update (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
drish committed Nov 23, 2023
1 parent 9397db6 commit f06cd03
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/api_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"os"

"github.com/resendlabs/resend-go"
"github.com/resendlabs/resend-go/v2"
)

func apiKeysExample() {
Expand Down
2 changes: 1 addition & 1 deletion examples/domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"os"

"github.com/resendlabs/resend-go"
"github.com/resendlabs/resend-go/v2"
)

func domainsExample() {
Expand Down
2 changes: 1 addition & 1 deletion examples/send_batch_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/resendlabs/resend-go"
"github.com/resendlabs/resend-go/v2"
)

func sendBatchEmails() {
Expand Down
2 changes: 1 addition & 1 deletion examples/send_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"os"

"github.com/resendlabs/resend-go"
"github.com/resendlabs/resend-go/v2"
)

func sendEmailExample() {
Expand Down
2 changes: 1 addition & 1 deletion examples/with_attachments.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"os"

"github.com/resendlabs/resend-go"
"github.com/resendlabs/resend-go/v2"
)

func withAttachments() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/resendlabs/resend-go
module github.com/resendlabs/resend-go/v2

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion resend.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

const (
version = "1.7.0"
version = "2.2.0"
defaultBaseURL = "https://api.resend.com/"
userAgent = "resend-go/" + version
contentType = "application/json"
Expand Down

0 comments on commit f06cd03

Please sign in to comment.