Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-03-09 17:00:50 +00:00
parent 8750a8c59f
commit 2fb26f6b55
21 changed files with 1470 additions and 1464 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",
})