![image.png](https://static.studygolang.com/200113/21f8f0b194d29e00d159de71c56a66f6.png)
111 從 &user 來的,只是一個假定值
https://gorm.io/docs/create.html
type Animal struct {
ID int64
Name string `gorm:"default:'galeone'"`
Age int64
}
var animal = Animal{Age: 99, Name: ""}
db.Create(&animal)
// INSERT INTO animals("age") values('99');
// SELECT name from animals WHERE ID=111; // the returning primary key is 111
#1