收录了 nil 频道下的 13 篇文章
要判断interface空的问题,首先看下其底层实现。interface底层结构根据interface是否包含有method,底层实现上用两种struct来表示:iface和eface。eface表示不含method的interface结构,或者叫empty