Updated Go SDK
This commit is contained in:
parent
d25a1f4f78
commit
5478dcd934
7 changed files with 32 additions and 14 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
4
composer.lock
generated
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue