Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-03-01 16:46:43 +00:00
parent ca3f935e80
commit fa7dfe82c6
28 changed files with 1397 additions and 1395 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{}{
"name": "John Doe",
"age": 37,
"starsign": "Leo",
"name": "John Doe",
},
Index: "customers",
})