Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-02-25 13:04:30 +00:00
parent bcf8833d06
commit b6293c699c
24 changed files with 1295 additions and 1295 deletions

View File

@@ -198,9 +198,9 @@ func IndexArecord() {
searchService := search.NewSearchService(os.Getenv("M3O_API_TOKEN"))
rsp, err := searchService.Index(&search.IndexRequest{
Data: map[string]interface{}{
"starsign": "Leo",
"name": "John Doe",
"age": 37,
"starsign": "Leo",
},
Index: "customers",