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
I think returning a []][]byte, where each element contains a byte slice containing the JSON result for the request, would also be nice. The thing it does now with returning an interface{} makes the library a pain in the ass to use. Users should be able to unmarshal the response however they way.
For example the function:
ExecuteStruct(...)
= same asExecute(...)
but a result as a struct rather than an interface.Reason for request: sometimes the structure is known and this makes it easier to handle.
Full example:
The text was updated successfully, but these errors were encountered: