gorm 如何对字段进行comment注释?

type User struct {
    Model
    Name string `gorm:"type:char(30);comment:'姓名'"`
}
相关文章
相关标签/搜索