go-read icon indicating copy to clipboard operation
go-read copied to clipboard

go 语言的一些新特性、知识分享

gocn_news__2017

gocn_news__2018

gocn_news__2019


GoCN 每日新闻 (2021-11-12)

  1. 官方的 2021go 开发者调查 https://go.dev/blog/survey2021
  2. 错误 nil check 失败在 Group.Wait 上 https://github.com/hashicorp/go-multierror/issues/57
  3. 当 key 是动态的时候如何序列化 json 为 Struct https://www.reddit.com/r/golang/comments/qrgswp/struct_for_json_where_key_is_variable/
  4. go 语言 native UI 绑定https://www.reddit.com/r/golang/comments/qr8lkm/are_there_native_bindings_for_native_ui/
  5. 在浏览器里签名、验证、加密、解密 JPG 使用 go wasm pwa https://github.com/pojntfx/keygaen

GoCN 每日新闻 (2021-11-02)

  1. 在 Go 项目中基于本地内存缓存的实现及应用 https://gocn.vip/topics/17441
  2. 定位并修复 Go 中的内存泄漏 https://gocn.vip/topics/17437
  3. Kubernetes 网络方案——炫酷的 Cilium https://zhuanlan.zhihu.com/p/415695076
  4. proposal: spec: 禁止在字符串文字中使用 LTR/RTL 字符? https://github.com/golang/go/issues/20209
  5. Gopher 圣诞日历 https://golang.christmas/

GoCN 每日新闻 (2021-10-21)

  1. Go+ 1.0 发布会干货分享 https://mp.weixin.qq.com/s/pMRAaqChxj_Aw45EnagoUA
  2. casbin: 一款用户权限控制库 https://ridouku.medium.com/casbin-an-alternative-to-validate-user-permissions-fd21fadc2b3a
  3. HTTP 开发与单测的一些模式 https://itnext.io/some-patterns-for-http-and-unit-testing-in-go-221097a0597b
  4. snaky: 使用 Go 编写的终端贪吃蛇游戏 https://github.com/twiny/snaky
  5. 软件设计原则在 Go 开发的实践 https://medium.com/prysmatic-labs/software-design-principles-applied-to-go-48c1dacfc37f

GoCN 每日新闻(2021-10-20)

  1. Golang 实现的中以隐私为重点的开源客户数据平台 https://github.com/rudderlabs/rudder-server
  2. Golang 中你不需要用于文件遍历的库 https://engineering.kablamo.com.au/posts/2021/quick-comparison-between-go-file-walk-implementations
  3. 为什么你应该在 Go 中使用专用的构造函数 https://web3.coach/golang-why-you-should-use-constructors
  4. 高性能 Redis-Server 多线程框架,基于 rawepoll 模型 https://github.com/IceFireDB/redhub
  5. Go 在 flow 中的开发 https://susamn.medium.com/be-in-the-flow-with-idiomatic-go-development-58058326bffe

GoCN 每日新闻 (2021-10-19)

  1. 一套优雅的 Go 错误问题解决方案 https://mp.weixin.qq.com/s/RFF2gSikqXiWXIaOxQZsxQ
  2. 基于 tcpdump 原理手写抓包程序 https://mp.weixin.qq.com/s/8B5sjrufaGWBYgjqvw6GlQ
  3. Go 开源说第十七期 分布式事务 DTM https://mp.weixin.qq.com/s/5jAIHaIpO-Dk4F2kJzWQAQ
  4. 在 GO 中, 你不需要用于文件遍历的开源库 https://engineering.kablamo.com.au/posts/2021/quick-comparison-between-go-file-walk-implementations
  5. WebAssembly 能够快速执行的原因 https://zhuanlan.zhihu.com/p/422541443

GoCN 每日新闻 (2021-10-18)

  1. Tailscale 公司的 Go linker 优化 https://tailscale.com/blog/go-linker/
  2. Go 一些外部库的性能测试 https://faun.pub/golang-frameworks-and-external-libraries-performace-5c0fb2cbfc4a
  3. BFE Ingress Controller 正式发布! https://mp.weixin.qq.com/s/7eia0WM9kbEBXKMPSlOT3A
  4. Golang 语言极简 HTTP 客户端 GoRequest https://mp.weixin.qq.com/s/vvzu_KDejpQ4rJUsT2wD_A
  5. 听说,99% 的 Go 程序员都被 defer 坑过 https://mp.weixin.qq.com/s/1T6Z74Wri27Ap8skeJiyWQ

GoCN 每日新闻 (2021-10-15)

  1. 使用 go-metrics 在 Go 应用中增加度量https://mp.weixin.qq.com/s/sCGGwKjVnFsFQQk5fXw8sw
  2. 简单身份认证服务器你 https://github.com/reugn/auth-server
  3. goreleaser 支持 Mac 统一二进制(arm64 和 amd64) 了 https://goreleaser.com/customization/universalbinaries/
  4. go 更安全的枚举 https://threedots.tech/post/safer-enums-in-go/
  5. 把 asci 输出转化为 svg https://github.com/wader/ansisvg
  6. 编辑: 阿章
  7. 订阅新闻: http://tinyletter.com/gocn
  8. 招聘专区: https://gocn.vip/jobs
  9. GOCN 归档 https://gocn.vip/topics/17396

GoCN 每日新闻 (2021-10-08)

  1. 理解 Go 切片的 cap 和 len https://gosamples.dev/capacity-and-length/
  2. Go1.17.2 与 1.16.9 更新,修复安全问题 https://groups.google.com/g/golang-announce/c/AEBu9j7yj5A
  3. Go 将增加新的网络地址包 netip https://github.com/golang/go/issues/46518
  4. bunrouter: 一款高效且灵活的 http router 框架 https://bunrouter.uptrace.dev/
  5. sat:一款轻便的 WebAssembly 计算模块 https://github.com/suborbital/sat

GoCN 每日新闻 (2021-10-06)

  1. 为 Go 应用添加 Prometheus 监控指标 https://mp.weixin.qq.com/s/QrZo4_Ejpa3CEFCB79EIYA
  2. Go 语言之父谈 Go 编程语言与环境 https://tonybai.com/2021/10/06/the-go-programming-language-and-environment/
  3. Go 常见错误集锦之混淆了 slice 中的长度 和容量 https://gocn.vip/topics/17342
  4. 架构设计的新思路,《架构之道》读书笔记 https://mp.weixin.qq.com/s/oKOu_OfLdK8Mp7pMCceexQ
  5. PromQL 查询之 rate 函数的使用 https://mp.weixin.qq.com/s/7z8n3abX9k39YL5kCopJqQ

GoCN 每日新闻 (2021-09-24)

  1. Go 有别于其他语言的 10 个特性 https://itnext.io/10-features-of-go-that-set-it-apart-from-other-languages-89337e5ee551
  2. Go1.17.1 开始 go get 将不再支持安装可执行文件 https://jinxankit.medium.com/deprecation-of-go-get-in-golang-1-17-1-2da764d613e1
  3. slices 包将增加泛型排序方法 https://github.com/golang/go/issues/47619
  4. 基于 wasm 的在线 Go-playgroud https://go-playground-wasm.vercel.app/
  5. 将先进的 Go 并发设计模式到数据管道设计 https://medium.com/amboss/applying-modern-go-concurrency-patterns-to-data-pipelines-b3b5327908d4

GoCN 每日新闻(2021-09-23)

  1. Go 实现关于 Web 应用程序的单点登录多因素门户 https://github.com/authelia/authelia
  2. ffmpeg-to-webrtc 演示了如何使用 Go 实现的 pion 将视频从 ffmpeg 发送到您的浏览器 https://github.com/ashellunts/ffmpeg-to-webrtc
  3. 简单、零依赖的 Go 调度库 https://github.com/reugn/go-quartz
  4. 在 Go 中实现通用过滤器功能 https://preslav.me/2021/09/22/implementing-a-generic-filter-function-in-golang/
  5. Go 实现的用于安全拆分和分发您的私钥的实验性工具 https://github.com/Dentrax/cocert

GoCN 每日新闻 (2021-09-22)

  1. 行为准则更新 https://go.dev/blog/conduct-2021
  2. 在 Go 中使用 Failpoint 注入故障 https://www.luozhiyun.com/archives/595
  3. 日志库输出策略的设计模式小考 https://zhuanlan.zhihu.com/p/411747859
  4. 驯服 go 内存使用,避免用 rust 重写 https://www.akitasoftware.com/blog-posts/taming-gos-memory-usage-or-how-we-avoided-rewriting-our-client-in-rust
  5. go-test-trace: 测试时生成 tracing https://github.com/rakyll/go-test-trace

GoCN 每日新闻(2021-09-21)

  1. 讨论 Go 标准库 API 如何支持泛型 https://github.com/golang/go/discussions/48287
  2. Go 实践 DDD 领域驱动设计系列文章 https://levelup.gitconnected.com/practical-ddd-in-golang-aggregate-de13f561e629
  3. Golang 五种原子性操作的用法详解 https://mp.weixin.qq.com/s/W48sjzxwjPYKgcY8DavBYA
  4. Go 1.18 合并对 Fuzz 测试原生支持的代码 https://github.com/golang/go/commit/6e81f78c0f1653ea140e6c8d008700ddad1fa0a5
  5. Capoae 恶意软件利用软件漏洞安装 Go 挖矿程序 https://thehackernews.com/2021/09/new-capoae-malware-infiltrates.html

GoCN 每日新闻 (2021-09-10)

  1. Go1.17.1 与 Go 1.16.8 发布 https://groups.google.com/g/golang-announce/c/dx9d7IOseHw
  2. Go1.17 go get 指令的更新 https://khanakia.medium.com/golang-go-get-updated-in-go-1-17-8e0c905bdb1f
  3. Go1.17 sync/atomic 包中 CompareAndSwap 的改变 https://khanakia.medium.com/go-1-17-whats-changed-sync-atomic-package-and-compareandswap-4b714f49342b
  4. 在 Go 语言中实战 DDD https://levelup.gitconnected.com/practical-ddd-in-golang-domain-event-de02ad492989
  5. 使用 Go 语言编写一个《我的世界》https://preettheman.medium.com/lets-build-minecraft-with-go-d813755f159b

GoCN 每日新闻(2021-09-09)

  1. Golang 强行关闭 TCP 连接 https://itnext.io/forcefully-close-tcp-connections-in-golang-e5f5b1b14ce6
  2. Golang 中的 DIY 调试器 https://poonai.github.io/posts/how-debuggers-works-part1/
  3. Go 中的第一个通用链表 https://github.com/1995parham/linkedlist.go
  4. 在 Go 中使用 redis 和 lua 脚本 https://xitonix.io/go-lua-and-redis/
  5. Go1.17 测试中添加的新功能 https://khanakia.medium.com/go-1-17-new-features-added-to-testing-9a8862cb03c0

GoCN 每日新闻(2021-09-08)

  1. 理解真实项目中的 Go 并发 Bug https://gocn.vip/topics/12529
  2. Go Test 的一些小建议 https://moshe-beladev-mb.medium.com/tips-for-effective-go-tests-6b9f1e242f02
  3. Go 应用中优雅处理 Error 的几个技巧 https://mp.weixin.qq.com/s/Gnkyba2OjFnwxObqjlBePw
  4. 深入理解 CNI(容器网络接口)https://mp.weixin.qq.com/s/z9-F4Oamnnlyuj5ARoMt_Q
  5. GO 编程模式: 泛型编程 https://coolshell.cn/articles/21615.html

GoCN 每日新闻(2021-09-07)

  1. 微服务架构下的熔断框架:hystrix-go https://mp.weixin.qq.com/s/jhHhowKj9bNVXSursDvIQw
  2. 使用 Delve 调试远程 Go 应用 https://juejin.cn/post/7004731872735395877
  3. AWS Kinesis Firehose - 使用 Go 存储 JSON 到 AWS S3 Parquet https://medium.com/@starchycornet33/aws-kinesis-firehose-json-to-parquet-using-golang-for-columnar-based-queries-753a783c371c
  4. Bun - 简单高效的 PostgreSQL/MySQL/SQLite 客户端 https://bun.uptrace.dev/
  5. Fuzz 测试实践 https://www.dolthub.com/blog/2021-08-30-unleash-the-fuzz/

GoCN 每日新闻 (2021-08-27)

  1. cobra 强大的 cli 命令工具 https://mp.weixin.qq.com/s/fW2XBXDA9t89oCjjDKaGwA
  2. Go 存储基础—“文件” 被偷偷修改?来,给它装个监控! https://mp.weixin.qq.com/s/m0dRfKCeis53V866-vSKGQ
  3. 使用 lambda 和 Go 编写一个可水平伸缩的应用 https://arielorozco.com/build-scalable-applications-with-aws-lambda-and-go
  4. 使用 entviz 通过代码自动生成实体联系模型图 https://entgo.io/blog/2021/08/26/visualizing-your-data-graph-using-entviz/
  5. udpsocket: 基于 UDP 的虚拟有状态连接库 https://github.com/theredrad/udpsocket

GoCN 每日新闻(2021-08-26)

  1. Go 实现的基于 Raft 和 RESP 协议的分布式磁盘存储系统 https://github.com/gitsrc/IceFireDB
  2. 用 Go 实现的自托管 Torrent 客户端 https://github.com/varbhat/exatorrent
  3. Go 的全功能测试框架!断言、模拟、输入测试、输出捕获 https://github.com/MarvinJWendt/testza
  4. Go 实现一个使用你的 Wi-Fi 登录详细信息创建二维码 https://github.com/reugn/wifiqr
  5. 通过 key 分析 Redis 中的内存使用情况 https://dclg.net/posts/2021-08-16---Redis-inventory/redis-inventory

GoCN 每日新闻(2021-08-24)

  1. [警惕] 请勿滥用 goroutine https://mp.weixin.qq.com/s/JC14dWffHub0nfPlPipsHQ
  2. 译|There Are No Reference Types in Go https://www.cyningsun.com/08-23-2021/there-are-no-reference-types-in-go-cn.html
  3. 分久必合,golang.org 将成为历史! https://mp.weixin.qq.com/s/g_T_MO03G2n_N4HmO1DcCg
  4. Golang 的字符编码与 regexp https://juejin.cn/post/6999523994558791687
  5. Gitea 1.15.0 is released https://blog.gitea.io/2021/08/gitea-1.15.0-is-released/

GoCN 每日新闻 (2021-08-14)

  1. Go Web 应用中常见的反模式 https://www.4async.com/2021/08/common-anti-patterns-in-go-web-applications/
  2. 什么是事件建模 https://www.4async.com/2021/07/introducing-event-modeling/
  3. 译文 Go 语言是如何计算 len() 的? https://gocn.vip/topics/12437
  4. 把命令包装进 Go https://developer20.com/wrapping-commands-with-go/
  5. C 到 Go 的代码转换工具 cxgo https://github.com/gotranspile/cxgo

GoCN 每日新闻 (2021-08-12)

  1. 手把手 Golang 实现静态图像与视频流人脸识别 https://blog.csdn.net/agora_cloud/article/details/119522891
  2. Golang 中如何正确的使用 sarama 包操作 Kafka? https://www.cnblogs.com/wishFreedom/p/15131600.html
  3. nil == nil 是 true 吗? https://www.pixelstech.net/article/1628407126-Will-nil-==-nil-be-true-in-GoLang
  4. Golang 实现 RTP https://blog.csdn.net/agora_cloud/article/details/119495522
  5. 使用 Golang 实践 BDD 风格测试 https://levelup.gitconnected.com/implementation-of-behavioral-driven-development-bdd-using-golang-d33073243722

GoCN 每日新闻 (2021-08-09)

  1. 编写与优化 Go 代码 (一) https://mp.weixin.qq.com/s/zv7gjs9w7d5brE-7_e1JOw
  2. 译|What “accept interfaces, return structs” means in Go https://www.cyningsun.com/08-08-2021/go-accept-interfaces-return-structs.html
  3. Golang 语言中怎么提升 JSON 编解码的性能? https://mp.weixin.qq.com/s/wkqk1cgYKWnbIsHqoTA5UA
  4. HTTP context 生命周期 https://developer20.com/http-connection-livetime/
  5. Golang 实现 RTP https://segmentfault.com/a/1190000040483316

GoCN 每日新闻 (2021-08-06)

  1. 一个交互式的 mysql/postgresql 客户端 https://github.com/danvergara/dblab
  2. 一个 C 转换为 Go 的工具 https://github.com/gotranspile/cxgo
  3. golang 是怎么计算 len 的 https://tpaschalis.github.io/golang-len/
  4. Go 语言 css 解析器 https://github.com/mmcdole/gofeed
  5. Go 语言与科学 http://kestrel.nmt.edu/~raymond/software/go_notes/go.html

GoCN 每日新闻 (2021-07-29)

  1. 端到端追踪的三种方式 https://rakyll.medium.com/three-ways-to-trace-end-to-end-f61181d6db63
  2. 分布式系统的 “脑裂” 到底是个什么玩意? https://segmentfault.com/a/1190000040420527
  3. 一个有趣的 Go 内存问题 https://boyter.org/posts/interesting-go-memory-issue/
  4. 我们是如何构建 EGO 的 https://github.com/edgelesssys/ego
  5. 如何设计短网址系统? https://juejin.cn/post/6990270005749219359

GoCN 每日新闻 (2021-07-28)

  1. Go 经典阻塞式 TCP 协议流解析的实践 https://tonybai.com/2021/07/28/classic-blocking-network-tcp-stream-protocol-parsing-practice-in-go
  2. 学会使用 GDB 调试 Go 代码 https://mp.weixin.qq.com/s/O9Ngzgg9xfHMs5RSK5wHQQ
  3. 【译】GitHub 为 Go 社区带来供应链安全功能 https://gocn.vip/topics/12386
  4. Go cmd 服务无法退出的小坑 https://mp.weixin.qq.com/s/22C2387AYz980Ye_0w_E1A
  5. powerproto: 一款多功能 proto 工具 https://github.com/storyicon/powerproto

GoCN 每日新闻(2021-07-26)

  1. Go 中的.NET LINQ 功能 https://github.com/ahmetb/go-linq
  2. 在 Go 中构建事件驱动的应用程序 https://github.com/ThreeDotsLabs/watermill/
  3. Go 实现的 protobuf 文件生成器 https://github.com/p1gd0g/rediloper
  4. Go 用于带注释的 TODO 注释的静态代码分析器 https://github.com/preslavmihaylov/todocheck/tree/v0.4.0
  5. Go 语言的调试器 Delve https://github.com/go-delve/delve

GoCN 每日新闻 (2021-07-15)

  1. 编写高质量的 Go benchmarks 并不容易 https://github.com/go101/go101/wiki/Writing-qualified-Go-benchmarks-is-not-easy
  2. 安全计数的多种方式 https://brunocalza.me/there-are-many-ways-to-safely-count/
  3. Go 中的流水线模式 https://ketansingh.me/posts/pipeline-pattern-in-go-part-1/
  4. 探究 sync.RWMutex https://sreramk.medium.com/go-sync-rwmutex-internals-and-usage-explained-9eb15865bba#d1f6-c1e9f1b394e4
  5. 轻量级依赖注入框架 di https://github.com/go-tk/di

GoCN 每日新闻 (2021-07-13)

  1. Go 1.16.6 and Go 1.15.14 are released https://groups.google.com/g/golang-announce/c/n9FxMelZGAQ/m/4ZhvTx0dAQAJ
  2. 更新 Go 内存模型 https://research.swtch.com/gomm
  3. Go 依赖注入:为什么把 dig 迁移到 wire https://mp.weixin.qq.com/s/bHXRSpiIhycoQLN5oz0QMA
  4. 编程模式之 Go 如何实现装饰器 https://mp.weixin.qq.com/s/B_VYr3I525-vjHgzfW3Jhg
  5. Go 不是 C,所以没有极快的方法来合并切片 https://github.com/go101/go101/wiki/Go-is-not-C,-so-there-is-not-an-extreme-fast-way-to-merge-slices

GoCN 每日新闻(2021-07-10)

  1. 简单灵活的 Go 健康检查库 https://github.com/alexliesenfeld/health
  2. Go 的 WorkerPools 实现
  3. 硬件内存模型 https://research.swtch.com/hwmm
  4. 从头编写一个时间序列的数据库引擎 https://nakabonne.dev/posts/write-tsdb-from-scratch/
  5. Go 实现的一个快速的 HTML 有害内容 XSS 清除库 https://github.com/microcosm-cc/bluemonday

GoCN 每日新闻(2021-07-08)

  1. 私有化仓库的 GO 模块使用实践 https://zhuanlan.zhihu.com/p/384621827
  2. Go 阅读清单 https://github.com/qichengzx/gopher-reading-list-zh_CN
  3. sync.RWMutex 实现和使用说明 https://sreramk.medium.com/go-sync-rwmutex-internals-and-usage-explained-9eb15865bba
  4. Go 使用 WasmEdge 嵌入 WASM https://www.secondstate.io/articles/extend-golang-app-with-webassembly-rust/
  5. go-doudou 去中心化微服务敏捷开发框架 https://github.com/unionj-cloud/go-doudou

GoCN 每日新闻 (2021-07-05)

  1. 自建的视频网站管理器,支持 b 站,YouTube https://github.com/horahoradev/horahora
    1. golang pipeline 实战 https://itnext.io/golang-pipeline-in-practise-6007dafbb85f
    2. 简单 web 框架 dragon https://github.com/azerothyang/dragon
    3. golang 实现的 spotify 客户端 https://github.com/brianstrauch/spotify-cli
    4. mock mongo-go-driver https://medium.com/@victor.neuret/mocking-the-official-mongo-golang-driver-5aad5b226a78

GoCN 每日新闻 (2021-06-26)

  1. Go 1.17 弃用了 'go get'的传统用法 https://utcc.utoronto.ca/~cks/space/blog/programming/GoAndDeprecatingGoGet
  2. 用 Go 复制 MySQL 所有功能的替代品 https://www.dolthub.com/blog/2021-06-21-copying-mysqls-dumb-decisions/
  3. 在你的 Android 手机上运行 Golang 程序 https://mp.weixin.qq.com/s/EFHmjoTh0ji9Zc_YS6aPoQ
  4. 分布式锁实现原理与最佳实践 https://mp.weixin.qq.com/s/M92bQQ4ESeE-RkiPiu-oRw
  5. Go 语言的 IO 库那么多,我该怎么选?https://mp.weixin.qq.com/s/TtN6NZ8hQ2AIf0C8wVzkjA

GoCN 每日新闻 (2021-06-25)

  1. 项目中如何内嵌 Submodule https://medium.com/@RashadAnsari/working-with-go-sub-module-as-a-library-93e5db59a0f2
  2. Go 语言微服务开发快速上手指南 https://kaushalprajapati-25586.medium.com/golang-project-starter-60bfbbe63845
  3. 为你的 Go 应用创建轻量级 Docker 镜像 http://www.cnblogs.com/you-men/p/14929232.html
  4. TDD 是如何帮助我们更好地开发 Go 代码,原理与实践 https://changelog.com/gotime/185
  5. Google 提出开源软件漏洞处理框架 https://security.googleblog.com/2021/06/announcing-unified-vulnerability-schema.html

GoCN 每日新闻 (2021-06-24)

  1. 使用 Go 泛型的函数式编程 https://gocn.vip/topics/12233
  2. 一文读懂 eBPF 对 Kubernetes 可观测的重要性 https://mp.weixin.qq.com/s/xsCvDbCuVyn6kT2BFtHAjg
  3. Golang 语言中的 channel 实现原理 https://mp.weixin.qq.com/s/6Q4lqlIBWl2g-EqU-M-rHw
  4. Go 性能工具小抄 https://gocn.vip/topics/12198
  5. 23 种设计模式的 Go 语言实现(二)https://bbs.huaweicloud.com/blogs/280291

GoCN 每日新闻 (2021-06-23)

  1. 如何在 Go 中正确使用基本身份验证 https://www.alexedwards.net/blog/basic-authentication-in-go
  2. Go 处理错误的方式 https://www.bacancytechnology.com/blog/golang-error-handling
  3. Go 实现的用于与源代码一起版本控制数据的工具 https://github.com/kevin-hanselman/dud/
  4. GO 抓取网页信息 https://javarustacean.wordpress.com/2021/06/21/web-scrapping-in-go/
  5. Go 实时 Web UI 和终端显示的高性能 HTTP 基准测试工具 https://github.com/six-ddc/plow

GoCN 每日新闻 (2021-06-11)

  1. Go 1.17 beta 1 发布 (泛型支持) https://groups.google.com/g/golang-dev/c/TfpiXhSOMRM/m/wROPV0blAgAJ
  2. 如何使用 GitHub Actions 自动发布你的 Go 二进制应用 https://web3.coach/golang-github-actions-release-binaries-tutorial
  3. Go、WebAssembly、HTTP 请求和 Promises https://withblue.ink/2020/10/03/go-webassembly-http-requests-and-promises.html
  4. GraphQL 聚合网关 Bramble https://github.com/movio/bramble
  5. 最后测试开发模式介绍 https://bitfieldconsulting.com/golang/test-last-development

GoCN 每日新闻 (2021-06-10)

  1. Go Runtime 的调度器 https://mp.weixin.qq.com/s/hU6Xmp5zeh9vgUEV5otjWg
  2. 一文讲懂服务的优雅重启和更新 https://mp.weixin.qq.com/s/yryqf8SCzvt-BFj8j5bZ2w
  3. 你不知道的 Go 之 pprof https://mp.weixin.qq.com/s/pSD2k1uNH9WFZumw24I4uQ
  4. 源码剖析 Go 语言的 timer https://mp.weixin.qq.com/s/GwY6650MNF07MOb79-A-jQ
  5. 一文教你搞懂 Go 中栈操作 https://mp.weixin.qq.com/s/hU6Xmp5zeh9vgUEV5otjWg

GoCN 每日新闻 (2021-06-08)

  1. 在 Golang 中创建自定义应用程序 logger https://jilsonfreddy.medium.com/create-a-custom-application-logger-in-golang-cdd11ba106d5
  2. 在 Go 1.16+ 中构建 GUI 桌面应用程序 https://blog.ctrlshiftmake.com/build-tray-gui-desktop-application-go
  3. Go 实现为以太坊智能合约创建绑定 https://www.metachris.com/2021/05/creating-go-bindings-for-ethereum-smart-contracts/
  4. Go 中简单、可定制、分级且高效的日志记录 https://github.com/ermanimer/log
  5. Go 实现的发送原始 HTTP 请求的基准测试和压力测试工具 https://github.com/utkusen/reqstress

GoCN 每日新闻(2021-06-07)

  1. Code Review 引发的 Golang Memory Model 深入思考 https://juejin.cn/post/6970513766509182984
  2. Go 高性能系列教程之一:基准测试 https://gocn.vip/topics/12126
  3. 监控是手段,而不是目的 https://www.robustperception.io/monitoring-is-a-means-not-an-end
  4. Calico 路由反射模式权威指南 https://mp.weixin.qq.com/s/hLiI9fsPQ7w4PS2ALff09g
  5. 从栈上理解 Go 语言函数调用 https://www.cnblogs.com/luozhiyun/p/14844710.html

GoCN 每日新闻(2021-06-06)

  1. 详解 Go 团队不建议用的 unsafe.Pointer https://mp.weixin.qq.com/s/8qtHdw2JiRQ1cXlzbJ0ANA
  2. 新 Goland 插件支持 TinyGo https://blog.jetbrains.com/go/2021/06/02/tinygo-for-tiny-applications-discover-a-new-plugin-for-goland/
  3. 使用 go-i18n 实现国际化 https://lokalise.com/blog/go-internationalization-using-go-i18n/
  4. awesome-go-orms https://github.com/d-tsuji/awesome-go-orms
  5. Go 实现终端 slide 展示工具 https://github.com/maaslalani/slides

GoCN 每日新闻 (2021-06-03)

  1. 基于 cdp 协议开发的浏览器自动化工具 rod https://go-rod.github.io/i18n/zh-CN/#/get-started/README
  2. Go 重构和转换工具 https://github.com/uber-go/gopatch#gopatch 3.开发小应用的 jetbrains 插件 tinygo https://blog.jetbrains.com/go/2021/06/02/tinygo-for-tiny-applications-discover-a-new-plugin-for-goland/
  3. 使用 httputil 反向代理工具将 grpc rest & html 绑定到一个端口上 https://medium.com/james-reads-public-cloud-technology-blog/using-a-httputil-reverse-proxy-to-host-grpc-rest-html-on-a-single-port-9d3f629762b7
  4. Pre-commit-golang 支持 revive 了 https://github.com/TekWizely/pre-commit-golang/releases/tag/v0.8.3

GoCN 每日新闻 (2021-05-26)

  1. 如何运行并行功能测试 https://medium.com/fiverr-engineering/running-parallel-functional-tests-2f6609bfbf4e
  2. Go 中一些不曾注意的点 https://arash-cordi.medium.com/dark-corners-of-go-4e29aafcd4b9
  3. 如何像专家一样编写 Golang 基准测试 https://hackernoon.com/how-to-write-benchmarks-in-golang-like-an-expert-0w1834gs
  4. 详解 Go 空结构体的 3 种使用场景 https://mp.weixin.qq.com/s/zbYIdB0HlYwYSQRXFFpqSg
  5. Promtheus rules lint 工具 https://github.com/cloudflare/pint

GoCN 每日新闻 (2021-05-24)

  1. 懂得取舍才是缓存设计的真谛 https://my.oschina.net/kevwan/blog/5056791
  2. immudb v1.0 released https://www.codenotary.com/blog/immudb-release-1-0/
  3. 你知道 Goroutine 是怎么来的吗? https://mp.weixin.qq.com/s/DZavvanPnRwZMPU-5_wOeg
  4. 分布式链路跟踪中的 traceid 和 spanid 代表什么? https://mp.weixin.qq.com/s/eKbFYwnH4vwgWm6_5sWs3w
  5. Dart Flutter 数据库 ObjectBox 1.0 版本 https://objectbox.io/dart-flutter-database-1_0-release/

GoCN 每日新闻 (2021-05-22)

  1. 利用 eBPF 支撑大规模 Kubernetes Service https://mp.weixin.qq.com/s/BJHzU4LxLdLnNzOnAqIptg
  2. Golang 中的适配器设计模式 https://www.smartscribs.com/adapter-design-pattern-in-golang/
  3. 【深度】阿里巴巴万级规模 K8s 集群全局高可用体系之美 https://gocn.vip/topics/12079
  4. 假如 Go 能说话,听听 GMP 的心声 https://mp.weixin.qq.com/s/Tgf-JU9YDume4jRHex65NA
  5. 小函数的调用开销需要考虑吗? https://mp.weixin.qq.com/s/nW0Cye1G_A72fm7MuBAM1A

GoCN 每日新闻 (2021-05-21)

  1. golang 中的 AES 加密解密
  2. Go 中实现的加密货币机器人 https://github.com/rodrigo-brito/ninjabot
  3. Go 中同名的方法
  4. Go 实现的 JSON 类型检查工具 https://github.com/Kangaroux/go-map-schema
  5. 使用 Wails 在 Go 中构建桌面应用

GoCN 每日新闻 (2021-05-15)

  1. golang 并发底层实现竟然都是它!!! https://mp.weixin.qq.com/s/7BeLEzqmA1IR-rjVig0Qbw
  2. golang 编写的 GBA 模拟器 https://github.com/pokemium/magia
  3. 漫谈 Go 语言编译器(01)https://mp.weixin.qq.com/s/0q0k8gGX56SBKJvfMquQkQ
  4. semaphore 的原理与实现 https://mp.weixin.qq.com/s/GB649snXQ5rDF2BXO9V55Q
  5. pprof++:具有硬件性能监控的 Go 探查器 https://eng.uber.com/pprof-go-profiler

GoCN 每日新闻 (2021-05-13)

  1. 译文 Go 的抢占式调度 https://gocn.vip/topics/12062
  2. 深度解密 Go 语言之基于信号的抢占式调度 https://mp.weixin.qq.com/s/ESfbVoCGUIdpwFOfGyvz1w
  3. 使用 Golang 的交叉编译 https://linux.cn/article-13385-1.html
  4. Go issues 提案:使用新 package 提供 slices 功能 https://github.com/golang/go/issues/45955
  5. Go 数组比切片好在哪? https://mp.weixin.qq.com/s/zp1vdhGukEYKpzAdPt--Mw

GoCN 每日新闻 (2021-05-10)

  1. 利用 NATS JetStream 构建分布式事件流系统 https://shijuvar.medium.com/building-distributed-event-streaming-systems-in-go-with-nats-jetstream-3938e6dc7a13
  2. 100 行 Golang 代码构建一个简单的终端仿真器 https://ishuah.com/2021/03/10/build-a-terminal-emulator-in-100-lines-of-go
  3. 编写简单的 CLI 程序:Python vs Go https://dev.to/jidicula/writing-a-simple-cli-program-python-vs-go-59kf
  4. 如何使用 Go,Maroto 和 GoFakeIt 创建 PDF https://dev.to/divrhino/creating-a-pdf-with-go-maroto-gofakeit-3c7m
  5. 一个用 Go 编写的类似 cowsay 的开源程序 weebsay https://github.com/irevenko/weebsay