Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-02-21 14:09:50 +00:00
parent 93129f6883
commit d9aa0c235b
28 changed files with 1263 additions and 1263 deletions

View File

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