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
Feature: Added endpoint_metadata information to the response struct for 'all' subscription endpoint. Created customString type to handle JSON values that can be either strings or integers. The api response sometimes returns a string or an integer depending on the endpoint that is being hit, so setting the type to a simple int does not resolve the issue - as it will break for other endpoints.
- Introduced customString type to manage JSON values that may be strings or integers.
- Implemented custom UnmarshalJSON and MarshalJSON methods for customString.
- Updated EndpointResponse struct to use customString for fields requiring flexible JSON handling.
0 commit comments