登录
推荐
文章
Go 技术
课程
下载
专题
AI
nil
已收录文章:13篇
三天内
三天内
一周内
一月内
三月内
最新
最热
Golang
·
Go教程
| 3年前 |
nil
·
interface
·
golang
golang interface判断为空nil的实现代码
要判断interface 空的问题,首先看下其底层实现。 interface 底层结构 根据 interface 是否包含有 method,底层实现上用两种 struct 来表示:iface 和 eface。eface表示不含 method 的 interface 结构,或者叫 empty
113
收藏
1
2