Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-02-25 15:21:54 +00:00
parent d935baa7b6
commit fec8cd6c49
18 changed files with 1011 additions and 1011 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",
})