摘要:
#案例分析 package main import ( "math" "sync" "time" ) func doAllocate(nKB int, wg *sync.WaitGroup) { var slice []byte for i := 0; i < nKB; i++ { t := mak 阅读全文
摘要:
The concrete value stored in an interface is not addressable, in the same way that a map element is not addressable. 意思具体值赋值给 interface 类型后与 map 中的元素一 阅读全文