
golang源码
文章平均质量分 85
kangziheng
never say die
展开
-
Golang中的nil
不同的nil nil其实甚至不是golang的关键词,只是一个变量名。定义在 buildin/buildin.go 中 // nil is a predeclared identifier representing the zero value for a // pointer, channel, func, interface, map, or slice type. var nil Type // Type must be a pointer, channel, func, interface, map转载 2021-12-18 16:37:36 · 1026 阅读 · 0 评论 -
Go Interface 源码剖析
Go源码转载 2021-12-18 15:13:48 · 153 阅读 · 0 评论