Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
asim
2021-11-02 14:55:41 +00:00
parent ad9b51b20e
commit d8fe0a59a9
9 changed files with 7 additions and 15 deletions

View File

@@ -12,9 +12,9 @@ func PublishAmessage() {
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",
})