Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-03-03 14:24:45 +00:00
parent e8facfabd7
commit 544f3d2941
33 changed files with 1428 additions and 1422 deletions

View File

@@ -12,9 +12,9 @@ func main() {
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",
})