diff --git a/clients/go/m3o.go b/clients/go/m3o.go index 329b2e4..422499d 100755 --- a/clients/go/m3o.go +++ b/clients/go/m3o.go @@ -14,7 +14,6 @@ import ( "github.com/micro/services/clients/go/forex" "github.com/micro/services/clients/go/function" "github.com/micro/services/clients/go/geocoding" - "github.com/micro/services/clients/go/gifs" "github.com/micro/services/clients/go/helloworld" "github.com/micro/services/clients/go/holidays" "github.com/micro/services/clients/go/id" @@ -60,7 +59,6 @@ func NewClient(token string) *Client { ForexService: forex.NewForexService(token), FunctionService: function.NewFunctionService(token), GeocodingService: geocoding.NewGeocodingService(token), - GifsService: gifs.NewGifsService(token), HelloworldService: helloworld.NewHelloworldService(token), HolidaysService: holidays.NewHolidaysService(token), IdService: id.NewIdService(token), @@ -106,7 +104,6 @@ type Client struct { ForexService *forex.ForexService FunctionService *function.FunctionService GeocodingService *geocoding.GeocodingService - GifsService *gifs.GifsService HelloworldService *helloworld.HelloworldService HolidaysService *holidays.HolidaysService IdService *id.IdService diff --git a/clients/ts/index.ts b/clients/ts/index.ts index a12582f..11543a8 100755 --- a/clients/ts/index.ts +++ b/clients/ts/index.ts @@ -11,7 +11,6 @@ import * as file from "./file"; import * as forex from "./forex"; import * as fx from "./function"; import * as geocoding from "./geocoding"; -import * as gifs from "./gifs"; import * as helloworld from "./helloworld"; import * as holidays from "./holidays"; import * as id from "./id"; @@ -54,7 +53,6 @@ export class Client { this.forexService = new forex.ForexService(token); this.functionService = new fx.FunctionService(token); this.geocodingService = new geocoding.GeocodingService(token); - this.gifsService = new gifs.GifsService(token); this.helloworldService = new helloworld.HelloworldService(token); this.holidaysService = new holidays.HolidaysService(token); this.idService = new id.IdService(token); @@ -96,7 +94,6 @@ export class Client { forexService: forex.ForexService; functionService: fx.FunctionService; geocodingService: geocoding.GeocodingService; - gifsService: gifs.GifsService; helloworldService: helloworld.HelloworldService; holidaysService: holidays.HolidaysService; idService: id.IdService; diff --git a/clients/ts/package.json b/clients/ts/package.json index 81d1b8e..85336f8 100644 --- a/clients/ts/package.json +++ b/clients/ts/package.json @@ -66,5 +66,5 @@ }, "type": "module", "types": "dist/index.d.ts", - "version": "1.0.551" + "version": "1.0.552" } \ No newline at end of file diff --git a/examples/db/create/go/createARecord.go b/examples/db/create/go/createARecord.go index ed2b1c4..c582849 100755 --- a/examples/db/create/go/createARecord.go +++ b/examples/db/create/go/createARecord.go @@ -11,10 +11,10 @@ func CreateArecord() { dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) rsp, err := dbService.Create(&db.CreateRequest{ Record: map[string]interface{}{ - "id": "1", "name": "Jane", "age": 42, "isActive": true, + "id": "1", }, Table: "users", }) diff --git a/examples/db/update/go/updateARecord.go b/examples/db/update/go/updateARecord.go index d1cad90..4c7b7e9 100755 --- a/examples/db/update/go/updateARecord.go +++ b/examples/db/update/go/updateARecord.go @@ -11,8 +11,8 @@ func UpdateArecord() { dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) rsp, err := dbService.Update(&db.UpdateRequest{ Record: map[string]interface{}{ - "id": "1", "age": 43, + "id": "1", }, Table: "users", })