Closed sridharavinash closed 2 years ago
@sridharavinash Thanks for opening this! I made one commit to move the HTTPError
out of the internal directory, my understanding is that Go automatically keeps anything in that directory from being exported outside the package so we needed to move the code out of there also.
This is an attempt to fix the issue mentioned in #4.
With the change in here,
api.HTTPError
would be exported and it would allow the caller to the REST API client to do things likeThanks for the 👀 💖 .