摘要: import ( "fmt" "reflect" ) type Foo struct { FirstName string `tag_name:"tag 1"` LastName string `tag_name:"tag 2"` Age int `tag_name:"tag 3"` } func (f *Foo) reflect... 阅读全文
posted @ 2019-01-31 20:17 hao.ma 阅读(352) 评论(0) 推荐(0) 编辑