摘要:
package main import ( "encoding/json" "fmt" "reflect" ) type Movie struct { Title string `json:"title"` Year int `json:"year"` Price int `json:"rmb"` 阅读全文
posted @ 2021-10-30 09:48
专职
阅读(222)
评论(0)
推荐(0)
摘要:
package main import ( "fmt" "reflect" ) type resume struct { // 反射解析结构体标签tag Name string `info:"name" doc:"我的名字"` Sex string `info:"sex"` } // 方法一:传递结 阅读全文
posted @ 2021-10-30 09:28
专职
阅读(649)
评论(0)
推荐(0)

浙公网安备 33010602011771号