diff --git a/ovrstat.go b/ovrstat.go index 4fba4a4..60bf5e1 100644 --- a/ovrstat.go +++ b/ovrstat.go @@ -12,7 +12,7 @@ type OvrStatApi struct { URL string } -func New(apiUrl string) { +func New(apiUrl string) *OvrStatApi { return &OvrStatApi{Client: &http.Client{}, URL: apiUrl} }