caicloud / nirvana

Golang Restful API Framework for Productivity
https://caicloud.github.io/nirvana/
Apache License 2.0
520 stars 105 forks source link

Use fixed return variable name #422

Closed whalecold closed 3 years ago

whalecold commented 3 years ago

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

What happened:

When I use nirvana client to generate client for rpc server, it use the lower case strcut type name as return variable, it don't work when i use the native type such as int, string.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

whalecold commented 3 years ago

/close