Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
domwong
2021-11-17 16:57:39 +00:00
parent ab4c8ac3f6
commit 2fedd5e747
6 changed files with 9 additions and 9 deletions

View File

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