watson-developer-cloud / go-sdk

:mouse: go SDK for the IBM Watson services.
Apache License 2.0
71 stars 25 forks source link

Manual fix for query with timeslice aggregation #69

Closed ehdsouza closed 4 years ago

ehdsouza commented 4 years ago

related to https://github.ibm.com/Watson/developer-experience/issues/7974

In AggregationResult, when key_as_string is present, it will use that value. see StructTag.

It also adds a test case TestQueryWithTimesliceAggregation and test integration tests were mistakenly commented in the previous release.