From 41c234abe06fb226d1fbf637186860884402e46e Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 29 Mar 2016 10:29:53 +0300 Subject: [PATCH] NewClient() renamed to New(). --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 20afc0c..a8d5666 100644 --- a/client.go +++ b/client.go @@ -16,7 +16,7 @@ type PointClient struct { token Token } -func NewClient(apiUrl string) PointClient { +func New(apiUrl string) PointClient { return PointClient{ simple_http.Client{http.Client{}}, apiUrl,