跳到主要内容
CodeWiki
练习
学习路径
学习方向
速查表
试验场
术语表
AI 时代
搜索
⌘K
中文
英语
中文
练习
学习路径
学习方向
速查表
试验场
术语表
AI 时代
中文
英语
中文
练习
/
测验
/
Go
/
reflect.Type 与 reflect.Value
遍历可能包含未导出字段的结构体时,哪项检查能保护 Value.Interface()?
来自 reflect.Type 与 reflect.Value
Go 1.27
进阶
3分钟
遍历可能包含未导出字段的结构体时,哪项检查能保护 Value.Interface()?
field.CanInterface()
field.CanAddr()
field.IsZero()
field.Type().Comparable()
检查
向 AI 询问这道练习
报告错误
上一道练习
某方法声明为 func (*Worker) Stop()。哪个反射接收者能通过 MethodByName 找到它?
测验
下一道练习
这段程序会输出什么?
预测输出
有新版本可用
重新加载