Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-08 14:26:17 +00:00
parent af45cd2894
commit ba04dfd77e
25 changed files with 1104 additions and 904 deletions

View File

@@ -26,9 +26,9 @@ func PublishAnEvent() {
eventService := event.NewEventService(os.Getenv("M3O_API_TOKEN"))
rsp, err := eventService.Publish(&event.PublishRequest{
Message: map[string]interface{}{
"id": "1",
"type": "signup",
"user": "john",
"id": "1",
},
Topic: "user",