1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

Updated Go SDK

This commit is contained in:
Eldad Fux 2020-01-29 01:14:30 +02:00
parent d25a1f4f78
commit 5478dcd934
7 changed files with 32 additions and 14 deletions

View file

@ -9,8 +9,11 @@ type Avatars struct {
client Client
}
func New(client *Client) *Avatars {
service := Avatars{client}
func NewAvatars(clt *Client) *Avatars {
service := Avatars{
client: clt,
}
return service
}

View file

@ -9,8 +9,11 @@ type Database struct {
client Client
}
func New(client *Client) *Database {
service := Database{client}
func NewDatabase(clt *Client) *Database {
service := Database{
client: clt,
}
return service
}

View file

@ -8,8 +8,11 @@ type Locale struct {
client Client
}
func New(client *Client) *Locale {
service := Locale{client}
func NewLocale(clt *Client) *Locale {
service := Locale{
client: clt,
}
return service
}

View file

@ -9,8 +9,11 @@ type Storage struct {
client Client
}
func New(client *Client) *Storage {
service := Storage{client}
func NewStorage(clt *Client) *Storage {
service := Storage{
client: clt,
}
return service
}

View file

@ -9,8 +9,11 @@ type Teams struct {
client Client
}
func New(client *Client) *Teams {
service := Teams{client}
func NewTeams(clt *Client) *Teams {
service := Teams{
client: clt,
}
return service
}

View file

@ -9,8 +9,11 @@ type Users struct {
client Client
}
func New(client *Client) *Users {
service := Users{client}
func NewUsers(clt *Client) *Users {
service := Users{
client: clt,
}
return service
}

4
composer.lock generated
View file

@ -1526,7 +1526,7 @@
"source": {
"type": "git",
"url": "https://github.com/appwrite/sdk-generator",
"reference": "4d6189abf1fa793556f4f9177c83058b35750fe1"
"reference": "cc85b5b82e9c91b57f45e61d15c9abaf71749436"
},
"require": {
"ext-curl": "*",
@ -1556,7 +1556,7 @@
}
],
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
"time": "2020-01-28T22:54:26+00:00"
"time": "2020-01-28T23:13:19+00:00"
},
{
"name": "doctrine/instantiator",