Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-03-02 10:44:07 +00:00
parent ddef868d22
commit 95340f33e9
24 changed files with 1321 additions and 1321 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",