thousandeyes / thousandeyes-sdk-go

Thousandeyes golang API wrapper
Apache License 2.0
12 stars 23 forks source link

NewClient should return an error along with *Client #115

Open ishantanu opened 1 year ago

ishantanu commented 1 year ago

Hello,

I was looking at this SDK and noticed that the NewClient only returns a *Client.

Returning an error along with a client like (*Client, error) would be a great help in case of any issues with the client.