摘要: 0. "参考" 1. reflect遍历结构体的属性和方法 1.1 具体实现 go package main import ( "fmt" "reflect" ) type User struct { Id int Name string Age int } func (u User) Hello( 阅读全文
posted @ 2020-01-07 22:42 大海星 阅读(163) 评论(0) 推荐(0)