Releases: Uchencho/go-termii
Releases · Uchencho/go-termii
v1.0.4
Fix Balance Field
The termii docs shows that the balance field in the auto-generated message response is an integer while in "real life", a float is returned. Rather than change the field to float, I decided to use the interface type so the user can use type assertion to convert the type to int/float rather than getting an error if termii decides to return an integer.
Minor Bugfix on Response Type
Fixed the response type for verifying token because of the inconsistent response returned from the API. On the Verified field, you would need to cast the interface as string to check if the response returned is "Expired" and also cast as bool to see if the API returned true
First Release
v1.0 version 1.0