这边写用于个人后面查阅,大概率对其他读者没有帮助,就不浪费他人时间了 先贴一段代码: package main import( "fmt" "reflect" ) type I1 interface { One() } type S1 struct{ I1 num int } func (s1 *S1) One(){ fmt.Printf("type: S1 value: %+v interface One \n", s1.num) }