func mian() { var i interface{} = new(Student) s, ok := i.(Student) if ok { fmt.Println(s) }}通过switchswitch v := v.(type)