Vonage / vonage-go-sdk

A lightweight library to help Go users everywhere integrate with the Vonage APIs. Issues and PRs all really welcome!!
https://vonage.github.io/vonage-go-sdk/
Apache License 2.0
51 stars 32 forks source link

Add example code for GetBasicInsight. #14

Closed judy2k closed 4 years ago

judy2k commented 5 years ago

This branch should not be merged.

It demonstrates example code which would be integrated into the godoc output. Unfortunately the test currently attempts to make a call to the live Nexmo API, and so is unsuitable for addition to our test suite (and these example functions are run during testing).

Until we find an acceptable way to include sample code in our application, this remains a demonstration of the technique.

lornajane commented 4 years ago

I am not sure what more we can do with this at this point. Will revisit when we have more mock server functionality available as I think that could fit well.