摘要: Go-序列化给字段起别名(field tag must be a string) type Student struct { Name string `json:"name"` // 是 ` ` (tab键上的~按键) ,不是 ' ' Sex string `json:"sex"` Age int 阅读全文
posted @ 2020-11-01 09:59 L1ng14 阅读(481) 评论(0) 推荐(0) 编辑