Move gitlabnet client to client package
fixes: #451 (closed)
This MR:
- moves both the
internal/gitlabnetclient methods and the http client ininternal/configpackage toclient - changes the client constructors to be purely dependency injected so as to not be dependent on a config struct
- moves
internal/gitlabnettests - keeps the
GetClientmethod the same so we don't have to change too much code
Edited by John Cai