摘要: 原文链接:http://www.zhoubotong.site/post/23.html 遍历结构体 如何实现遍历结构体字段? 好吧,言归正传!举个例子:demo1: package main import ( "fmt" "reflect" ) type Student struct { name 阅读全文
posted @ 2021-01-26 21:40 周伯通之草堂 阅读(3756) 评论(0) 推荐(0) 编辑