Commit 36794f5a authored by Corentin Barreau's avatar Corentin Barreau
Browse files

Fix: return pointer from Init

parent 61734473
......@@ -13,7 +13,9 @@ var (
Version = "1.0.0"
)
func Init(key, secret, project, HQAddress string) (c Client, err error) {
func Init(key, secret, project, HQAddress string) (c *Client, err error) {
c = new(Client)
c.Key = key
c.Secret = secret
c.Project = project
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment