docs/cli/gen-pbentity #77
Replies: 3 comments 4 replies
-
这个是否也能加一个 tablesEx 参数 来排除某些表? |
Beta Was this translation helpful? Give feedback.
1 reply
-
2.8.1版本 gf 工具。 hack/config.yaml 里配置了 gfcli.gen.pbentity.option: option go_package = "xxxxx/api/pbentity" (默认是 "/api/pbentity" 导致编译不通过) 后,并没覆盖默认的 option go_package. |
Beta Was this translation helpful? Give feedback.
3 replies
-
如何在生成时排除某些表里的字段,例如密码字段,这样我在其他 proto 中使用结构时无需返回该字段 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
docs/cli/gen-pbentity
使用GoFrame框架的命令行工具gf来根据数据库表生成proto数据结构文件pbentity。包括命令使用方法、选项配置及其说明,以及与gen dao模块中生成的entity文件的区别。适用于HTTP和GRPC服务的数据实体结构生成,支持多种数据库的生成规则配置。
https://goframe.org/docs/cli/gen-pbentity
Beta Was this translation helpful? Give feedback.
All reactions