The http.Client used internally by UnsplashClient should be closed when it is done being used.
UnsplashClient should expose a close method which disposes allocated resources such as http.Client. After this method has been called the client must not be used any more, which should be enforced.
The
http.Client
used internally byUnsplashClient
should be closed when it is done being used.UnsplashClient
should expose aclose
method which disposes allocated resources such ashttp.Client
. After this method has been called the client must not be used any more, which should be enforced.close