Merge remote-tracking branch 'origin/master'

This commit is contained in:
junleea 2024-06-05 11:47:25 +08:00
commit ca29a55908
1 changed files with 2 additions and 1 deletions

View File

@ -2,10 +2,11 @@ package dao
import ( import (
"fmt" "fmt"
"gorm.io/gorm"
) )
type User struct { type User struct {
ID uint `gorm:"primarykey column:id"` gorm.Model
Name string `gorm:"column:name"` Name string `gorm:"column:name"`
Age int `gorm:"column:age"` Age int `gorm:"column:age"`
Email string `gorm:"column:email"` Email string `gorm:"column:email"`