Skip to content

Commit 794d734

Browse files
all: run go fmt on existing code
1 parent 437c49b commit 794d734

File tree

163 files changed

+56
-462
lines changed

Some content is hidden

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

163 files changed

+56
-462
lines changed

rest/accounts/v1/consents_bulk.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ func (params *CreateBulkConsentsParams) SetItems(Items []map[string]interface{})
3030
return params
3131
}
3232

33-
//
3433
func (c *ApiService) CreateBulkConsents(params *CreateBulkConsentsParams) (*AccountsV1BulkConsents, error) {
3534
path := "/v1/Consents/Bulk"
3635

rest/accounts/v1/contacts_bulk.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ func (params *CreateBulkContactsParams) SetItems(Items []map[string]interface{})
3030
return params
3131
}
3232

33-
//
3433
func (c *ApiService) CreateBulkContacts(params *CreateBulkContactsParams) (*AccountsV1BulkContacts, error) {
3534
path := "/v1/Contacts/Bulk"
3635

rest/api/v2010/accounts_addresses.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ func (params *CreateAddressParams) SetStreetSecondary(StreetSecondary string) *C
9494
return params
9595
}
9696

97-
//
9897
func (c *ApiService) CreateAddress(params *CreateAddressParams) (*ApiV2010Address, error) {
9998
path := "/2010-04-01/Accounts/{AccountSid}/Addresses.json"
10099
if params != nil && params.PathAccountSid != nil {
@@ -165,7 +164,6 @@ func (params *DeleteAddressParams) SetPathAccountSid(PathAccountSid string) *Del
165164
return params
166165
}
167166

168-
//
169167
func (c *ApiService) DeleteAddress(Sid string, params *DeleteAddressParams) error {
170168
path := "/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json"
171169
if params != nil && params.PathAccountSid != nil {
@@ -201,7 +199,6 @@ func (params *FetchAddressParams) SetPathAccountSid(PathAccountSid string) *Fetc
201199
return params
202200
}
203201

204-
//
205202
func (c *ApiService) FetchAddress(Sid string, params *FetchAddressParams) (*ApiV2010Address, error) {
206203
path := "/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json"
207204
if params != nil && params.PathAccountSid != nil {
@@ -482,7 +479,6 @@ func (params *UpdateAddressParams) SetStreetSecondary(StreetSecondary string) *U
482479
return params
483480
}
484481

485-
//
486482
func (c *ApiService) UpdateAddress(Sid string, params *UpdateAddressParams) (*ApiV2010Address, error) {
487483
path := "/2010-04-01/Accounts/{AccountSid}/Addresses/{Sid}.json"
488484
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_available_phone_numbers.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ func (params *FetchAvailablePhoneNumberCountryParams) SetPathAccountSid(PathAcco
3434
return params
3535
}
3636

37-
//
3837
func (c *ApiService) FetchAvailablePhoneNumberCountry(CountryCode string, params *FetchAvailablePhoneNumberCountryParams) (*ApiV2010AvailablePhoneNumberCountry, error) {
3938
path := "/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{CountryCode}.json"
4039
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_calls_notifications.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ func (params *FetchCallNotificationParams) SetPathAccountSid(PathAccountSid stri
3434
return params
3535
}
3636

37-
//
3837
func (c *ApiService) FetchCallNotification(CallSid string, Sid string, params *FetchCallNotificationParams) (*ApiV2010CallNotificationInstance, error) {
3938
path := "/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Notifications/{Sid}.json"
4039
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_conferences.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ func (params *UpdateConferenceParams) SetAnnounceMethod(AnnounceMethod string) *
315315
return params
316316
}
317317

318-
//
319318
func (c *ApiService) UpdateConference(Sid string, params *UpdateConferenceParams) (*ApiV2010Conference, error) {
320319
path := "/2010-04-01/Accounts/{AccountSid}/Conferences/{Sid}.json"
321320
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_conferences_participants.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ func (params *CreateParticipantParams) SetCallToken(CallToken string) *CreatePar
322322
return params
323323
}
324324

325-
//
326325
func (c *ApiService) CreateParticipant(ConferenceSid string, params *CreateParticipantParams) (*ApiV2010Participant, error) {
327326
path := "/2010-04-01/Accounts/{AccountSid}/Conferences/{ConferenceSid}/Participants.json"
328327
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_incoming_phone_numbers_local.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ func (params *CreateIncomingPhoneNumberLocalParams) SetBundleSid(BundleSid strin
172172
return params
173173
}
174174

175-
//
176175
func (c *ApiService) CreateIncomingPhoneNumberLocal(params *CreateIncomingPhoneNumberLocalParams) (*ApiV2010IncomingPhoneNumberLocal, error) {
177176
path := "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Local.json"
178177
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_incoming_phone_numbers_mobile.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ func (params *CreateIncomingPhoneNumberMobileParams) SetBundleSid(BundleSid stri
172172
return params
173173
}
174174

175-
//
176175
func (c *ApiService) CreateIncomingPhoneNumberMobile(params *CreateIncomingPhoneNumberMobileParams) (*ApiV2010IncomingPhoneNumberMobile, error) {
177176
path := "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/Mobile.json"
178177
if params != nil && params.PathAccountSid != nil {

rest/api/v2010/accounts_incoming_phone_numbers_toll_free.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ func (params *CreateIncomingPhoneNumberTollFreeParams) SetBundleSid(BundleSid st
172172
return params
173173
}
174174

175-
//
176175
func (c *ApiService) CreateIncomingPhoneNumberTollFree(params *CreateIncomingPhoneNumberTollFreeParams) (*ApiV2010IncomingPhoneNumberTollFree, error) {
177176
path := "/2010-04-01/Accounts/{AccountSid}/IncomingPhoneNumbers/TollFree.json"
178177
if params != nil && params.PathAccountSid != nil {

0 commit comments

Comments
 (0)