Skip to content

Commit

Permalink
Fix typo in generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechVitek committed Dec 8, 2023
1 parent 85ff0e9 commit 000e318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _examples/golang-sse/proto/chat.gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (s *chatServer) serveSendMessageJSON(ctx context.Context, w http.ResponseWr
defer r.Body.Close()

reqPayload := struct {
Arg0 string `json:"authorName"`
Arg0 string `json:"username"`
Arg1 string `json:"text"`
}{}
if err := json.Unmarshal(reqBody, &reqPayload); err != nil {
Expand Down

0 comments on commit 000e318

Please sign in to comment.