<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>文章 on Gheyret</title><link>https://gheyret.com/posts/</link><description>Recent content in 文章 on Gheyret</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 06 Oct 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://gheyret.com/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Go context 实战：从优雅退出到数据库连接超时</title><link>https://gheyret.com/posts/go-context-and-graceful-shutdown/</link><pubDate>Tue, 06 Oct 2026 00:00:00 +0800</pubDate><guid>https://gheyret.com/posts/go-context-and-graceful-shutdown/</guid><description>以本项目 server 的启动流程为线索，把 context.Context 讲透：它到底是什么、为什么这样设计、NotifyContext 如何实现优雅退出、WithTimeout 如何给数据库建连加超时，以及 Open/Connect、Ping/PingContext 的区别与常见坑，附完整时序图与速查表。</description></item><item><title>数据库配置、迁移与容器化部署：从 config 到 goose</title><link>https://gheyret.com/posts/database-config-migration-deploy/</link><pubDate>Tue, 06 Oct 2026 00:00:00 +0800</pubDate><guid>https://gheyret.com/posts/database-config-migration-deploy/</guid><description>围绕本项目 server 的 MySQL 配置，梳理 Database 配置字段、数据库迁移（up/down）的含义与行业标准做法、goose 的落地方式（含 embed）与执行时机，以及 Docker/K8s 下把迁移拆成独立步骤的部署姿势，附常见坑与速查表。</description></item><item><title>网络基础笔记 - 关于DNS</title><link>https://gheyret.com/posts/dns-dos-doh-doq/</link><pubDate>Tue, 06 Oct 2026 00:00:00 +0800</pubDate><guid>https://gheyret.com/posts/dns-dos-doh-doq/</guid><description>网络基础知识补充</description></item><item><title>Go 日志系统：log 与 log/slog 完全指南</title><link>https://gheyret.com/posts/go-log-and-slog/</link><pubDate>Mon, 05 Oct 2026 00:00:00 +0800</pubDate><guid>https://gheyret.com/posts/go-log-and-slog/</guid><description>系统梳理 Go 标准库 log 与 log/slog 的用法、设计模型、级别过滤、结构化字段、Handler 定制、两者互操作与常见坑，附 API 速查表。</description></item></channel></rss>