摘要: package main import ( "fmt" "unsafe" ) func main() { t := &T{"dd", 11} t1 := reflect.ValueOf(t) t2 := t1.Elem() t11 := reflect.TypeOf(t) t22 := t11.Elem().Field(1) fmt.Println(t22) t2.Field(0).SetStri 阅读全文
posted @ 2019-08-12 12:50 追求那份真 阅读(543) 评论(0) 推荐(0) 编辑