Open achilleas-k opened 4 years ago
The ginclient package should have a struct that holds a configuration and implements methods for all the functionality it supports.
As is conventional with Go packages, it could also have top-level equivalent functions that use a default client.
Subtasks:
New...
The ginclient package should have a struct that holds a configuration and implements methods for all the functionality it supports.
As is conventional with Go packages, it could also have top-level equivalent functions that use a default client.
Subtasks:
New...
function.