gorm自定字段名 发表于: 2022-01-22 2022-01-22 分类: SRE 标签: gorm, https type Student struct { Age int64 `gorm:"column:his_age"` // 将字段名设为 `his_age` } 文章导航 前一页 上一篇: gorm字段使用自定义前缀后一页 下一篇: gorm自定义CreatedAt值 stnds 217RSS订阅