NewClient() renamed to New().

This commit is contained in:
Alexey Skobkin 2016-03-29 10:29:53 +03:00
parent c4ac747add
commit 41c234abe0
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ type PointClient struct {
token Token token Token
} }
func NewClient(apiUrl string) PointClient { func New(apiUrl string) PointClient {
return PointClient{ return PointClient{
simple_http.Client{http.Client{}}, simple_http.Client{http.Client{}},
apiUrl, apiUrl,