Your Question
The document you expected this should be explained
Expected answer
Comment From: li-jin-gou
hello @steve7688
func TestGORM(t *testing.T) {
// MySQL
res := []*User{}
DB.Limit(15).Order("rand()").Find(&res)
}
Comment From: li-jin-gou
hello @steve7688
func TestGORM(t *testing.T) {
// MySQL
res := []*User{}
DB.Limit(15).Order("rand()").Find(&res)
}