Skip to content

Commit

Permalink
chore: move to v4 (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 authored Oct 4, 2024
1 parent 6d5850a commit b19ecdb
Show file tree
Hide file tree
Showing 44 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"time"

"github.com/sendgrid/sendgrid-go/client/form"
"github.com/sendgrid/sendgrid-go/v4/client/form"
)

var alphanumericRegex *regexp.Regexp
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/sendgrid/sendgrid-go
module github.com/sendgrid/sendgrid-go/v4

go 1.21.4

Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/account_provisioning/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/alerts/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/api_keys/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/domain_authentication/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/email_activity/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/email_validation/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/enforced_tls/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/integrations/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/ip_access_management/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/ip_address_management/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/ip_warmup/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/ips/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/link_branding/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/lmc_campaigns/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/lmc_contactdb/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/lmc_senders/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/mail/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/mail_settings/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/mc_custom_fields/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/mc_designs/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/mc_lists/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/mc_segments/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/mc_segments_2/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/mc_senders/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/mc_singlesends/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/mc_stats/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/mc_test/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/partner/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/recipients_data_erasure/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/reverse_dns/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/scheduled_sends/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/scopes/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/seq/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/sso/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/stats/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/subusers/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/teammates/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/templates/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/tracking_settings/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/user/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/verified_senders/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down
2 changes: 1 addition & 1 deletion rest/api/v3/webhooks/api_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package openapi

import (
sendgrid "github.com/sendgrid/sendgrid-go/client"
sendgrid "github.com/sendgrid/sendgrid-go/v4/client"
)

type ApiService struct {
Expand Down

0 comments on commit b19ecdb

Please sign in to comment.