fix type detection for client generation (#213)

This commit is contained in:
Dominic Wong
2021-09-22 11:55:04 +01:00
committed by GitHub
parent a75181d100
commit abd26b8929
6 changed files with 13 additions and 13 deletions

View File

@@ -11,9 +11,9 @@ func PublishAmessage() {
streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := streamService.Publish(&stream.PublishRequest{
Message: map[string]interface{}{
"user": "john",
"id": "1",
"type": "signup",
"user": "john",
},
Topic: "events",
})