摘要: import ( "reflect" "testing" ) type Users struct { ID int Name string } type TestInterface interface { GetName() string } func (u *Users) UpdateName(newName string) { u.Name = newName } fu... 阅读全文
posted @ 2019-08-12 22:32 不骄不傲 阅读(3439) 评论(0) 推荐(0) 编辑