Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
domwong
2021-11-10 13:52:17 +00:00
parent a48b9b738a
commit 5667765ed7
4 changed files with 4 additions and 4 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{}{
"id": "1",
"type": "signup",
"user": "john",
"id": "1",
},
Topic: "user",
})