Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

[建议]xorm reverse 工具能否对生成字段信息后面加上原字段注释 #54

Open
imkos opened this issue Feb 15, 2019 · 1 comment

Comments

@imkos
Copy link

imkos commented Feb 15, 2019

templates\goxorm下的config 希望支持一个是否加上原字段注释的开关。把原字段的注释生成出来,多爽。
功能改应该不难,希望能接受此建议

对于go.go 修改tag方法 增加 ...+ "//"+ col.Comment
但发现postgres的 col.Comment 的值是空的

@lunny
Copy link
Member

lunny commented Feb 18, 2019

Currently Comment only be supported on mysql

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants