Open samkim130 opened 3 years ago
Can u copy this test case https://github.com/googlemaps/google-maps-services-go/blob/621d70731566a6c7c11fc09a2bd4bbad4989fc88/directions_test.go#L69 and paste the JSON string into it
and paste the result here?
As I think it might be related to ur response.
I kept getting the error where I couldn't unmarshal a saved sample data because for some reason it would think Route.Legs is a type of string. I modified the code to test it directly right after getting a response, but still the same issue.
Environment details
Steps to reproduce
Code example
Stack trace