2019年6月13日

摘要: 1. https://zhuanlan.zhihu.com/p/26783694 golang IO包的妙用 详细讲解了如何实现 IO, 用rpc协议包讲解 encode/decode/ hash/ 两次写内存操作优化成一次等,看起来非常之高级 2. https://zhuanlan.zhihu.c 阅读全文
posted @ 2019-06-13 18:13 js.yeyong 阅读(160) 评论(0) 推荐(0) 编辑
摘要: from https://zhuanlan.zhihu.com/p/41418726 1. 对nil map, nil slice 添加数据必然失败 var m []string var n map[string]string m["name"] = "zzz" // 出错 因为仅仅声明的话,map 阅读全文
posted @ 2019-06-13 15:23 js.yeyong 阅读(202) 评论(0) 推荐(0) 编辑

导航