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
{{ message }}
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.
You can either implement FieldMapper and define your own Binder func, or you can implement the Binder interface directly (as long as you defined the type in the same package):
Or something like that. Since you're deserializing into a slice of structs, you would probably initialize a struct for each iteration of the for loop. Is that what you're asking for?
Is it possible to bind from a JSON array to an array of structs implementing FieldMapper? It doesn't seem like it from browsing the source.
The text was updated successfully, but these errors were encountered: