Updated Go services
This commit is contained in:
parent
5478dcd934
commit
fe0ca71c5d
|
@ -9,7 +9,7 @@ type Avatars struct {
|
|||
client Client
|
||||
}
|
||||
|
||||
func NewAvatars(clt *Client) *Avatars {
|
||||
func NewAvatars(clt Client) Avatars {
|
||||
service := Avatars{
|
||||
client: clt,
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ type Database struct {
|
|||
client Client
|
||||
}
|
||||
|
||||
func NewDatabase(clt *Client) *Database {
|
||||
func NewDatabase(clt Client) Database {
|
||||
service := Database{
|
||||
client: clt,
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ type Locale struct {
|
|||
client Client
|
||||
}
|
||||
|
||||
func NewLocale(clt *Client) *Locale {
|
||||
func NewLocale(clt Client) Locale {
|
||||
service := Locale{
|
||||
client: clt,
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ type Storage struct {
|
|||
client Client
|
||||
}
|
||||
|
||||
func NewStorage(clt *Client) *Storage {
|
||||
func NewStorage(clt Client) Storage {
|
||||
service := Storage{
|
||||
client: clt,
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ type Teams struct {
|
|||
client Client
|
||||
}
|
||||
|
||||
func NewTeams(clt *Client) *Teams {
|
||||
func NewTeams(clt Client) Teams {
|
||||
service := Teams{
|
||||
client: clt,
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ type Users struct {
|
|||
client Client
|
||||
}
|
||||
|
||||
func NewUsers(clt *Client) *Users {
|
||||
func NewUsers(clt Client) Users {
|
||||
service := Users{
|
||||
client: clt,
|
||||
}
|
||||
|
|
4
composer.lock
generated
4
composer.lock
generated
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue