Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
crufter
2021-11-16 14:46:44 +00:00
parent 64773e0e2d
commit 7e8d37c782
6 changed files with 88 additions and 2 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{}{
"type": "signup",
"user": "john",
"id": "1",
"type": "signup",
},
Topic: "user",
})