每天获取GoCN新闻,并同步到博客

get-GoCN-news

爬取获得gocn的新闻,并同步到博客,每日更新从我做起

git地址:https://github.com/greenpipig/get-GoCN-news

参考库:

https://github.com/anaskhan96/soup

博客框架:hexo

特性

支持每天定时爬取

自动推送到hexo页面上

效果展示:

https://greenpipig.github.io/

使用方法:

首先修改update.sh中的路径文件,修改为自己的博客路径

每次检索时间为3小时一次

go build main.go

nohup ./main &

踩坑:

对于html解析时该库无法解析空格,推荐使用doc.FindAllStrict此方法

GoCN 每日新闻 (2020-11-04)

也许是最简洁版本,一篇文章上手 Go 语言 :https://blog.51cto.com/14977574/2546576

深入理解 golang:内存分配原理 :https://www.cnblogs.com/jiujuan/p/13922551.html

Go 语言在极小硬件上的运用(三):https://developer.51cto.com/art/202011/630644.htm

Go 语言中的 gRPC 基础入门 :https://mp.weixin.qq.com/s/jju6S6Qnsk7k0_-Q9WgkxQ

Go Wasm IDE:使用 WebAssembly 在浏览器中编译 Go :https://github.com/johnstarich/go-wasm

GoCN 每日新闻 (2020-11-03)

go-zero 是如何追踪你的请求链路? :https://gocn.vip/topics/11185

Go 语言反射(reflect)及应用 :https://www.cnblogs.com/l1ng14/p/13921985.html

Dubbo-go 源码笔记(一)Server 端开启服务过程 :https://gocn.vip/topics/11187

Go 的自定义静态分析 :https://rauljordan.com/2020/11/01/custom-static-analysis-in-go-part-1.html

Go mocking 技巧 :https://dmv.myhatchpad.com/insight/mocking-techniques-for-go/

GoCN 每日新闻(2020-11-01)

go-zero 如何应对海量定时/延迟任务 :https://gocn.vip/topics/11071

并发事件的优雅关闭 :https://www.rodrigoaraujo.me/posts/golang-pattern-graceful-shutdown-of-concurrent-events/

记一次由垃圾回收造成的诡异问题 :https://gocn.vip/topics/11170

为什么 Go 占用那么多的虚拟内存 :https://gocn.vip/topics/11173

知乎社区核心业务 Golang 化实践 :https://mp.weixin.qq.com/s/10BBSbuk1mn3QC5AgI5sWA

GoCN 每日新闻(2020-10-31)

使用 Go 进行 io_uring 的动手实践 :https://segmentfault.com/a/1190000037674497

Kubernetes 1.19:流量入口和路由的未来 :https://www.cncf.io/blog/2020/10/29/kubernetes-1-19-the-future-of-traffic-ingress-and-routing/

使用 WASM 实现 Go 在线编译 :https://johnstarich.medium.com/how-to-compile-code-in-the-browser-with-webassembly-b59ffd452c2b

pkg.go.dev 文档页面样式设计优化 :https://beta.pkg.go.dev/net/http

Go 实现浏览器审查工具驱动 :https://github.com/go-rod/rod

GoCN 每日新闻 (2020-10-30)

Tempo:Grafana 开源的分布式追踪系统 :https://grafana.com/blog/2020/10/27/announcing-grafana-tempo-a-massively-scalable-distributed-tracing-system/

Go 测试 Mock 方案指南 :https://laiyuanyuan-sg.medium.com/mock-solutions-for-golang-unit-test-a2b60bd3e157

Go 泛型方案解析 :https://www.youtube.com/watch?v=F8Gl8-3ZW0E

Thola:开源的网络设备监控工具 :https://github.com/inexio/thola

dowork:通用 Go 任务队列框架 :https://git.sr.ht/~sircmpwn/dowork

GoCN 每日新闻 (2020-10-28)

当 TiDB 与 Flink 相结合:高效、易用的实时数仓 :https://gocn.vip/topics/11159

使用 timeout、deadline 和 context 取消参数使 Go net/http 服务更灵活 :https://mp.weixin.qq.com/s/bQQg6659HRNYdCFsi6yqjQ

程序抖动问题定位库 :https://github.com/mosn/holmes

通过 MapReduce 降低服务响应时间 :https://juejin.im/post/6883358319524872205

KCP-GO 源码解析 :https://mp.weixin.qq.com/s/qMayO778mzAvhd2rnuNs5A

GoCN 每日新闻 (2020-10-27)

golang plugin 源码分析 :https://mp.weixin.qq.com/s/pKOoQ5Y-AoYiHcq9ffAzhw

一篇理解什么是 CanSet, CanAddr? :https://gocn.vip/topics/11155

golang 哈夫曼编码压缩文件代码实现全流程 (超详细版) :https://www.jianshu.com/p/bd7fa3ca2b1f

GoFrame——数据校验之结构体校验 :https://juejin.im/post/6887959120352116750

Go 进阶 51:抱歉,您必须拥有一个终端来执行 sudo :https://mojotv.cn/golang/golang-ssh-sudo-without-tty

GoCN 每日新闻 (2020-10-26)

Golang 单元测试详尽指引 :https://mp.weixin.qq.com/s/eAptnygPQcQ5Ex8-6l0byA

如何利用 go-zero 在 Go 中快速实现 JWT 认证 :https://segmentfault.com/a/1190000037601379

Go 发起 HTTP2.0 请求流程分析 (后篇)——标头压缩 :https://segmentfault.com/a/1190000037601710

熔断原理与实现 :https://gocn.vip/topics/11151

让容器应用管理更快更安全,Dragonfly 发布 Nydus 容器镜像加速服务 :https://mp.weixin.qq.com/s/eu0hMvu4-mGMhmI3l7_bSQ