2024年12月31日

gorm crud总结

摘要: type Student struct { Id int64 `gorm:"primary_key"` Name string `gorm:"column:name"` Age int `gorm:"column:age"` } func (Student) TableName() string { 阅读全文

posted @ 2024-12-31 21:52 王景迁 阅读(23) 评论(0) 推荐(0)

导航