mirror of
https://bitbucket.org/skobkin/point-api-go.git
synced 2024-12-28 06:04:20 +00:00
NewClient() renamed to New().
This commit is contained in:
parent
c4ac747add
commit
41c234abe0
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue