go_gorm_join
var res []*Result db.Table("student").Select("student.name,student.class_id,student.sex,student.score,class.class_name"). Joins("left join class on class.class_id = student.class_id").Scan(&res) fmt.Println(*re