rpc generation fix (#184)

* reactor alert

* optimize

* add test case

* update the target directory in case proto contains option

* fix missing comments and format code
This commit is contained in:
Keson
2020-11-05 19:08:34 +08:00
committed by GitHub
parent f7d778e0ed
commit 856b5aadb1
19 changed files with 97 additions and 36 deletions

View File

@@ -6,5 +6,5 @@ func GetComment(comment *proto.Comment) string {
if comment == nil {
return ""
}
return comment.Message()
return "// " + comment.Message()
}