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

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

@imkos

Description

@imkos

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions