利用reflect设置struct的字段

极为重要的两篇文章golang 1. http://speakmy.name/2014/09/14/modifying-interfaced-go-struct/app Combining it all together, this is the final function:dom func Destroy(subj interface{}) { stype := reflect.ValueO
相关文章
相关标签/搜索