Skip to content

Commit

Permalink
Merge pull request #32 from kujtimiihoxha/fix_comments
Browse files Browse the repository at this point in the history
Fix generated comments
  • Loading branch information
kujtimiihoxha authored Apr 1, 2019
2 parents e911108 + a4d2aba commit b012bbc
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 b012bbc

Please sign in to comment.