摘要: 模型定义示例 type User struct { gorm.Model Name string Age sql.NullInt64 Birthday *time.Time Email string `gorm:"type:varchar(100);unique_index"` Role strin 阅读全文
posted @ 2022-06-14 10:16 1O(∩_∩)O1 阅读(181) 评论(0) 推荐(0) 编辑