Skip to content

Commit

Permalink
Fix generated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kujtimiihoxha committed Apr 1, 2019
1 parent e911108 commit a4d2aba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generator/add_transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ func (g *generateGRPCTransport) Generate() (err error) {
if !decoderFound {
g.code.appendMultilineComment([]string{
fmt.Sprintf("decode%sResponse is a transport/grpc.DecodeRequestFunc that converts a", m.Name),
"gRPC request to a user-domain sum request.",
fmt.Sprintf("gRPC request to a user-domain %s request.", m.Name),
"TODO implement the decoder",
})
g.code.NewLine()
Expand Down
2 changes: 1 addition & 1 deletion generator/generate_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ func (g *generateGRPCClient) generateDecodeEncodeMethods(endpointImport string)
g.code.NewLine()
g.code.appendMultilineComment([]string{
fmt.Sprintf("encode%sRequest is a transport/grpc.EncodeRequestFunc that converts a", m.Name),
" user-domain sum request to a gRPC request.",
fmt.Sprintf(" user-domain %s request to a gRPC request.", m.Name),
})
g.code.NewLine()
g.code.appendFunction(
Expand Down

0 comments on commit a4d2aba

Please sign in to comment.