Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
crufter
2021-11-11 12:07:21 +00:00
parent 7fa39b93c8
commit e80b68116a
8 changed files with 69 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{}{
"id": "1",
"type": "signup",
"user": "john",
"id": "1",
},
Topic: "user",
})