摘要: 通过封装IsZeroOfUnderlyingType方法判断,代码如下 package main import ( "fmt" "reflect" ) type Person struct { Name string Age int } func IsZeroOfUnderlyingType(x i 阅读全文
posted @ 2020-06-03 16:38 雪山飞猪 阅读(2572) 评论(0) 推荐(0) 编辑