Skip to content

Commit 03c80bd

Browse files
run gofmt on all existing go code
1 parent a6217ed commit 03c80bd

File tree

1,395 files changed

+524
-4017
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,395 files changed

+524
-4017
lines changed

rest/accounts/v1/auth_tokens_promote.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ package openapi
1616

1717
import (
1818
"encoding/json"
19-
"fmt"
2019
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
2320
)
2421

2522
// Promote the secondary Auth Token to primary. After promoting the new token, all requests to Twilio using your old primary Auth Token will result in an error.

rest/accounts/v1/auth_tokens_secondary.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ package openapi
1616

1717
import (
1818
"encoding/json"
19-
"fmt"
2019
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
2320
)
2421

2522
// Create a new secondary Auth Token

rest/accounts/v1/consents_bulk.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ package openapi
1616

1717
import (
1818
"encoding/json"
19-
"fmt"
2019
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
2320
)
2421

2522
// Optional parameters for the method 'CreateBulkConsents'

rest/accounts/v1/contacts_bulk.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ package openapi
1616

1717
import (
1818
"encoding/json"
19-
"fmt"
2019
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
2320
)
2421

2522
// Optional parameters for the method 'CreateBulkContacts'

rest/accounts/v1/credentials_aws.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/accounts/v1/credentials_public_keys.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/accounts/v1/model_accounts_v1_auth_token_promotion.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
package openapi
1616

1717
import (
18-
"encoding/json"
19-
"github.com/twilio/twilio-go/client"
2018
"time"
2119
)
2220

rest/accounts/v1/model_accounts_v1_bulk_consents.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414

1515
package openapi
1616

17-
import (
18-
"encoding/json"
19-
"github.com/twilio/twilio-go/client"
20-
)
21-
2217
// AccountsV1BulkConsents struct for AccountsV1BulkConsents
2318
type AccountsV1BulkConsents struct {
2419
// A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.

rest/accounts/v1/model_accounts_v1_bulk_contacts.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414

1515
package openapi
1616

17-
import (
18-
"encoding/json"
19-
"github.com/twilio/twilio-go/client"
20-
)
21-
2217
// AccountsV1BulkContacts struct for AccountsV1BulkContacts
2318
type AccountsV1BulkContacts struct {
2419
// A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.

rest/accounts/v1/model_accounts_v1_credential_aws.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
package openapi
1616

1717
import (
18-
"encoding/json"
19-
"github.com/twilio/twilio-go/client"
2018
"time"
2119
)
2220

rest/accounts/v1/model_accounts_v1_credential_public_key.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
package openapi
1616

1717
import (
18-
"encoding/json"
19-
"github.com/twilio/twilio-go/client"
2018
"time"
2119
)
2220

rest/accounts/v1/model_accounts_v1_safelist.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414

1515
package openapi
1616

17-
import (
18-
"encoding/json"
19-
"github.com/twilio/twilio-go/client"
20-
)
21-
2217
// AccountsV1Safelist struct for AccountsV1Safelist
2318
type AccountsV1Safelist struct {
2419
// The unique string that we created to identify the SafeList resource.

rest/accounts/v1/model_accounts_v1_secondary_auth_token.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
package openapi
1616

1717
import (
18-
"encoding/json"
19-
"github.com/twilio/twilio-go/client"
2018
"time"
2119
)
2220

rest/accounts/v1/model_list_credential_aws_response.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414

1515
package openapi
1616

17-
import (
18-
"encoding/json"
19-
"github.com/twilio/twilio-go/client"
20-
)
21-
2217
// ListCredentialAwsResponse struct for ListCredentialAwsResponse
2318
type ListCredentialAwsResponse struct {
2419
Credentials []AccountsV1CredentialAws `json:"credentials,omitempty"`

rest/accounts/v1/model_list_credential_aws_response_meta.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414

1515
package openapi
1616

17-
import (
18-
"encoding/json"
19-
"github.com/twilio/twilio-go/client"
20-
)
21-
2217
// ListCredentialAwsResponseMeta struct for ListCredentialAwsResponseMeta
2318
type ListCredentialAwsResponseMeta struct {
2419
FirstPageUrl string `json:"first_page_url,omitempty"`

rest/accounts/v1/model_list_credential_public_key_response.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414

1515
package openapi
1616

17-
import (
18-
"encoding/json"
19-
"github.com/twilio/twilio-go/client"
20-
)
21-
2217
// ListCredentialPublicKeyResponse struct for ListCredentialPublicKeyResponse
2318
type ListCredentialPublicKeyResponse struct {
2419
Credentials []AccountsV1CredentialPublicKey `json:"credentials,omitempty"`

rest/accounts/v1/safe_list_numbers.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ package openapi
1616

1717
import (
1818
"encoding/json"
19-
"fmt"
2019
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
2320
)
2421

2522
// Optional parameters for the method 'CreateSafelist'

rest/api/v2010/accounts.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_addresses.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_addresses_dependent_phone_numbers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_applications.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_authorized_connect_apps.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_available_phone_numbers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_available_phone_numbers_local.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_available_phone_numbers_machine_to_machine.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_available_phone_numbers_mobile.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_available_phone_numbers_national.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_available_phone_numbers_shared_cost.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_available_phone_numbers_toll_free.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_available_phone_numbers_voip.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_balance.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ package openapi
1616

1717
import (
1818
"encoding/json"
19-
"fmt"
2019
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
20+
"strings"
2321
)
2422

2523
// Optional parameters for the method 'FetchBalance'

rest/api/v2010/accounts_calls.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
22+
"time"
2123

2224
"github.com/twilio/twilio-go/client"
2325
)

rest/api/v2010/accounts_calls_events.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_calls_notifications.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_calls_payments.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
21+
"strings"
2322
)
2423

2524
// Optional parameters for the method 'CreatePayments'

rest/api/v2010/accounts_calls_recordings.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

rest/api/v2010/accounts_calls_siprec.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
21+
"strings"
2322
)
2423

2524
// Optional parameters for the method 'CreateSiprec'

rest/api/v2010/accounts_calls_streams.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
21+
"strings"
2322
)
2423

2524
// Optional parameters for the method 'CreateStream'

rest/api/v2010/accounts_calls_transcriptions.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
21+
"strings"
2322
)
2423

2524
// Optional parameters for the method 'CreateRealtimeTranscription'

rest/api/v2010/accounts_calls_user_defined_message_subscriptions.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ package openapi
1616

1717
import (
1818
"encoding/json"
19-
"fmt"
2019
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
20+
"strings"
2321
)
2422

2523
// Optional parameters for the method 'CreateUserDefinedMessageSubscription'

rest/api/v2010/accounts_calls_user_defined_messages.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ package openapi
1616

1717
import (
1818
"encoding/json"
19-
"fmt"
2019
"net/url"
21-
22-
"github.com/twilio/twilio-go/client"
20+
"strings"
2321
)
2422

2523
// Optional parameters for the method 'CreateUserDefinedMessage'

rest/api/v2010/accounts_conferences.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"encoding/json"
1919
"fmt"
2020
"net/url"
21+
"strings"
2122

2223
"github.com/twilio/twilio-go/client"
2324
)

0 commit comments

Comments
 (0)