You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 1.20.0 changed the BaseClient SendRequest method (seen in this pull request) to add body ...byte as a function parameter. The corresponding MockBaseClient was not updated.
cannot use c (variable of type *client.MockBaseClient) as client.BaseClient value in struct literal: *client.MockBaseClient does not implement client.BaseClient (wrong type for method SendRequest)
have SendRequest(string, string, url.Values, map[string]interface{}) (*http.Response, error)
want SendRequest(string, string, url.Values, map[string]interface{}, ...byte) (*http.Response, error)compiler[InvalidIfaceAssign](https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#InvalidIfaceAssign)
Technical details:
twilio-go version: 1.20.1
go version: go version go1.22.2 darwin/arm64
The text was updated successfully, but these errors were encountered:
Issue Summary
Version
1.20.0
changed the BaseClient SendRequest method (seen in this pull request) to addbody ...byte
as a function parameter. The corresponding MockBaseClient was not updated.Steps to Reproduce
twilio-go
version1.20.1
Code Snippet
Exception/Log
Technical details:
1.20.1
go version go1.22.2 darwin/arm64
The text was updated successfully, but these errors were encountered: