主页 | Web版 | 订阅 | 归档 | Feed

GopherDaily

20260730

每日一谚:Never use http.DefaultClient in production.


Go技术生态

刚刚,MCP协议迎来“史上最大更新”:State彻底消失,Claude率先适配支持
MCP协议迎来自诞生以来最大规模的规范升级——2026-07-28版本正式发布,核心架构从有状态转为无状态,砍掉握手与会话机制,引入多轮往返请求(MRTR)、请求头路由、可缓存列表结果;MCP Apps、Tasks、企业级鉴权(EMA)正式纳入扩展框架;鉴权体系全面对齐OAuth 2.0/OIDC生产标准。Claude率先宣布跟进适配,目前MCP连接器目录已收录950+服务,SDK月下载量突破4亿。

计算
我曾表示,AI层很可能像其他一切一样变得商品化。我目睹了这一层的思想在几个月内从新颖变为基本要求。

pgx.CollectRows:良好的API不必慢
如果您正在阅读这篇文章,您可能已经知道`pgx`是Go的事实标准PostgreSQL驱动程序。希望您熟悉一些便捷API,如`CollectRows`和`RowToStructByName`。

云原生技术

controller-runtime缓存实际工作原理,以及为什么您的控制器不会使API服务器崩溃
**GVK (GroupVersionKind)** 是唯一标识Kubernetes中API类型的三元组。`controller-runtime`中的几乎所有API都基于GVK工作,而不是您在`kubectl`中输入的名称。

轮子、瓶子和镜像
Wheel、Homebrew瓶子和OCI镜像是三大自助式二进制分发系统。项目发布编译后的构件,任何机器都可以获取与其平台匹配的版本。

我们开源了隐私代理CLI | Cloudflare博客
Cloudflare开源了其隐私代理命令行界面工具。该工具提供更安全的网络访问体验。

AI

AI通过Word传播蠕虫
攻击者在文档中放置隐藏指令,该文档后来被用作Word Copilot的源材料。Copilot可能将这些指令解释为用户请求的一部分,导致其操纵文档。

GitHub对这个新世界而言是错误的形态
人们非常关注GitHub的整体性能和可靠性。但更有趣的是质疑我们使用GitHub的范式。

AI生产力提升更接近10%而非10倍
AI生产力提升更接近10%而非10倍。基准测试有误,而非结果有问题。

流行工具与项目

argoproj/argo-cd
Declarative Continuous Deployment for Kubernetes

modelcontextprotocol/go-sdk
The official Go SDK for Model Context Protocol servers and clients. Maintained in collaboration with Google.

larksuite/cli
The official Lark/Feishu CLI tool, maintained by the larksuite team — built for humans and AI Agents. Covers core business domains including Messenger, Docs, Base, Sheets, Calendar, Mail, Tasks, Mee

kenn-io/agentsview
Local-first session search, analytics, insights, and token use statistics for coding agents, supporting Claude Code, Codex, and more than 20 other agents.

netdata/netdata
The fastest path to AI-powered full stack observability, even for lean teams.

cert-manager/cert-manager
Automatically provision and manage TLS certificates in Kubernetes

google/gvisor
Application Kernel for Containers

certimate-go/certimate
An open-source and free self-hosted SSL certificates ACME tool, automates the full-cycle of issuance, deployment, renewal, and monitoring visually. 完全开源免费的自托管 SSL 证书 ACME 工��

swaggo/swag
Automatically generate RESTful API documentation with Swagger 2.0 for Go.

spf13/viper
Go configuration with fangs


编辑:Tony Bai

编辑主页:tonybai.com

GopherDaily项目:github.com/bigwhite/gopherdaily

Copyright 2019-2024 GopherDaily