Go中国社区(GoCN)每周新闻 - 20190624-20190630
GoCN每日新闻(2019-06-24)
- Go与Python/R语言通讯 https://opendatagroup.github.io/development/2019/06/13/go-ffi.html
- 利用Go实现gRPC拦截器 https://davidsbond.github.io/2019/06/14/creating-grpc-interceptors-in-go.html
- circl: Cloudflare开源的加密库 https://blog.cloudflare.com/introducing-circl/
- go-xmpp: Go实现的XMPP库 https://github.com/FluuxIO/go-xmpp
如果在Go中使用context.Context https://medium.com/the-polyglot-programmer/how-to-use-the-context-context-package-with-the-go-language-7114878bbed9
GoCN归档: https://gocn.vip/question/3508
GoCN每日新闻(2019-06-25)
- 理解 Go 的 Array 和 Slice https://www.sohamkamani.com/blog/golang/arrays-vs-slices/
- Docker on RISC-V 部署 Go https://medium.com/@carlosedp/docker-containers-on-risc-v-architecture-5bc45725624b
- encoding/json 真的慢吗?https://medium.com/@blanchon.vincent/go-is-the-encoding-json-package-really-slow-62b64d54b148
- Go 和 WebRTC https://viscarra.dev/post/webrtc-gspeech/
Go 简略体验 https://www.tbray.org/ongoing/When/201x/2019/06/12/Go-Creeping-In
GoCN归档: https://gocn.io/question/3531
GoCN每日新闻(2019-06-26)
- Go AES加解密性能测试 https://medium.com/@gerritjvv/aes-golang-encryption-performance-benchmarks-473e54ba304
- 使用unsafe包操作结构体中的私有成员 https://itnext.io/manipulating-private-fields-in-go-4da4ca525717
- 使用binary包进行数据编码 https://medium.com/learning-the-go-programming-language/encoding-data-with-the-go-binary-package-42c7c0eb3e73
- 带你理解Go结构体 https://medium.com/@victorsteven/understanding-data-structures-in-golang-f55205afdcaa
bettercap:一款强大的网络抓包器 https://github.com/bettercap/bettercap
GoCN每日新闻(2019-06-27)
- 走向Go 2的下一步 https://blog.golang.org/go2-next-steps
- 使用Go构建数据库密集型应用程序的终极指南 http://t.cn/AipRdZir
- 关于在gRPC中使用TLS的 http://gophersre.com/2019/06/21/grpc-dont-supply-a-client-cert/
- 经典并发模式 https://www.youtube.com/watch?v=5zXAHh5tJqQ
GoCN每日新闻(2019-06-28)
- 关于内置catch函数捕获错误的讨论 https://github.com/golang/go/issues/32811
- Go单元测试 https://levelup.gitconnected.com/unit-testing-in-go-205ada2b9d7c
- Go defer 会有性能损耗,尽量不要用?https://github.com/EDDYCJY/blog/blob/master/golang/pkg/2019-06-16-Go-defer-loss.md
- 如何快速提升 Go 程序性能? https://mp.weixin.qq.com/s/rta0Prdc5xq7Zd7mLzvcWA
Go Modules踩坑总结 https://mp.weixin.qq.com/s/2v8kGm8T9BQFmpLfQE7-wg
GoCN每日新闻(2019-06-29)
- 提案:内置的Go错误检查 https://go.googlesource.com/proposal/+/master/design/32437-try-builtin.md
- Go Modules 语义版本控制的问题 https://blog.dgraph.io/post/serialization-versioning
- 尝试更严格的gofmt https://www.reddit.com/r/golang/comments/c66cz2/experimentingwithastrictergofmt
- 减少类型层次 https://www.ardanlabs.com/blog/2016/10/reducing-type-hierarchies.html
分布式时序数据库 LinDB https://zhuanlan.zhihu.com/p/35998778
GoCN每日新闻(2019-06-30)
- 关于改进 "if err != nil" 的讨论 https://github.com/golang/go/issues/32825
- 为 Go 开发者准备的 Makefiles 教程 https://www.youtube.com/watch?v=QztvWSCbQLU
- gRPC+gRPC Gateway 能不能不用证书?https://github.com/EDDYCJY/blog/blob/master/golang/2019-06-22-grpc-gateway-tls.md
- 还原 panic 时的函数信息 https://lekstu.ga/posts/pclntab-function-recovery/
性能持续测试工具 performabot https://github.com/saschagrunert/performabot