cmd icon indicating copy to clipboard operation
cmd copied to clipboard

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

Open imkos opened this issue 6 years ago • 1 comments

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

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

imkos avatar Feb 15 '19 09:02 imkos

Currently Comment only be supported on mysql

lunny avatar Feb 18 '19 11:02 lunny