第一章:Go Interface … Go Interface与反射机制:反射是如何基于接口实现的?Read more
类型断言
Go Interface类型转换实战:从interface{}到具体类型的正确姿势
第一章:Go Interface … Go Interface类型转换实战:从interface{}到具体类型的正确姿势Read more
Go Interface与nil的陷阱:为什么有时候判断会出错?
第一章:Go Interface … Go Interface与nil的陷阱:为什么有时候判断会出错?Read more
【Go Interface避坑指南】:新手常犯的5个接口错误及修复方案
第一章:Go Interface … 【Go Interface避坑指南】:新手常犯的5个接口错误及修复方案Read more
Go语言interface{}类型使用误区:这些坑你必须避开
第一章:interface{}类 … Go语言interface{}类型使用误区:这些坑你必须避开Read more