diff --git a/app/sdks/go/avatars.go b/app/sdks/go/avatars.go index 9803b76af..feafa9da3 100644 --- a/app/sdks/go/avatars.go +++ b/app/sdks/go/avatars.go @@ -9,7 +9,7 @@ type Avatars struct { client Client } -func NewAvatars(clt *Client) *Avatars { +func NewAvatars(clt Client) Avatars { service := Avatars{ client: clt, } diff --git a/app/sdks/go/database.go b/app/sdks/go/database.go index b216270f8..e67aa130d 100644 --- a/app/sdks/go/database.go +++ b/app/sdks/go/database.go @@ -9,7 +9,7 @@ type Database struct { client Client } -func NewDatabase(clt *Client) *Database { +func NewDatabase(clt Client) Database { service := Database{ client: clt, } diff --git a/app/sdks/go/locale.go b/app/sdks/go/locale.go index c0227e522..5c379fab4 100644 --- a/app/sdks/go/locale.go +++ b/app/sdks/go/locale.go @@ -8,7 +8,7 @@ type Locale struct { client Client } -func NewLocale(clt *Client) *Locale { +func NewLocale(clt Client) Locale { service := Locale{ client: clt, } diff --git a/app/sdks/go/storage.go b/app/sdks/go/storage.go index 262d80604..7ede9c325 100644 --- a/app/sdks/go/storage.go +++ b/app/sdks/go/storage.go @@ -9,7 +9,7 @@ type Storage struct { client Client } -func NewStorage(clt *Client) *Storage { +func NewStorage(clt Client) Storage { service := Storage{ client: clt, } diff --git a/app/sdks/go/teams.go b/app/sdks/go/teams.go index 40de6613d..03e5425d0 100644 --- a/app/sdks/go/teams.go +++ b/app/sdks/go/teams.go @@ -9,7 +9,7 @@ type Teams struct { client Client } -func NewTeams(clt *Client) *Teams { +func NewTeams(clt Client) Teams { service := Teams{ client: clt, } diff --git a/app/sdks/go/users.go b/app/sdks/go/users.go index 13ab9d8be..ecd75f076 100644 --- a/app/sdks/go/users.go +++ b/app/sdks/go/users.go @@ -9,7 +9,7 @@ type Users struct { client Client } -func NewUsers(clt *Client) *Users { +func NewUsers(clt Client) Users { service := Users{ client: clt, } diff --git a/composer.lock b/composer.lock index 5447bc538..ec06eba4c 100644 --- a/composer.lock +++ b/composer.lock @@ -1526,7 +1526,7 @@ "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator", - "reference": "cc85b5b82e9c91b57f45e61d15c9abaf71749436" + "reference": "61756346867a1560b790c3a8421a05dfa6fbd421" }, "require": { "ext-curl": "*", @@ -1556,7 +1556,7 @@ } ], "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", - "time": "2020-01-28T23:13:19+00:00" + "time": "2020-01-29T05:06:48+00:00" }, { "name": "doctrine/instantiator",