<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Go - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/go/</link><description>Go - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Fri, 28 Feb 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/go/" rel="self" type="application/rss+xml"/><item><title>WebDAV 自建方案选型与实践</title><link>https://rd163.visword.com/posts/webdav-deploy/</link><pubDate>Fri, 28 Feb 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/webdav-deploy/</guid><description><![CDATA[<p>WebDAV(Web Distributed Authoring and Versioning,RFC 4918)是在 HTTP 之上扩展的一组方法(如 <code>PUT</code>、<code>PROPFIND</code>、<code>MKCOL</code>、<code>COPY</code>、<code>MOVE</code>),使得 Web 服务器可以当作可读写的网盘来用。相比 SFTP 或 NFS，它的优势在于走标准 HTTP(S) 端口、穿透代理和防火墙更友好，并且被几乎所有的笔记软件（如 Obsidian 的 Remotely Save 插件）、文件管理器（Windows 资源管理器、macOS Finder、Linux Nautilus/Dolphin）原生支持。</p>]]></description></item><item><title>Go 语言实现的命令行工具</title><link>https://rd163.visword.com/posts/cmd-by-golang/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/cmd-by-golang/</guid><description>&lt;p>Go 语言在命令行工具领域有着大量优质项目。得益于交叉编译简单、单文件分发、启动快、并发模型轻量等特性,Go 已成为现代 CLI 工具最常用的实现语言之一。本文以 DNS 查询工具 &lt;a href="https://github.com/mr-karan/doggo" target="_blank" rel="noopener noreferrer">doggo&lt;/a> 为例,介绍这类工具的设计思路与实际用法。&lt;/p></description></item><item><title>K8s 源码阅读</title><link>https://rd163.visword.com/posts/k8s-source-review/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/k8s-source-review/</guid><description><![CDATA[<h2 id="概述" class="headerLink">
    <a href="#%e6%a6%82%e8%bf%b0" class="header-mark"></a>概述</h2><p>Kubernetes 的主仓库 <a href="https://github.com/kubernetes/kubernetes" target="_blank" rel="noopener noreferrer"><code>kubernetes/kubernetes</code></a> 是一个以 Go 为主(占比约 97%)的庞大项目,截至本文写作时提交数已超过 14 万。直接从根目录切入很容易迷失方向,阅读源码前先理解它的整体结构、构建机制和典型调用链,可以显著降低入门成本。</p>]]></description></item><item><title>集成前端 UI 与 API Server 的最佳实践</title><link>https://rd163.visword.com/posts/integrate-frontend-and-api/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/integrate-frontend-and-api/</guid><description>&lt;p>前端 UI 与 API Server 如何「拼到一起」是每个全栈项目迟早要回答的问题。即便前后端在开发期完全独立，真正上线时也要决定：浏览器从哪里取静态资源、跨域请求如何收敛、单域还是子域、静态文件由谁托管。本文按「集成形态」为主线，梳理几种主流方案及其背后的取舍，并附上开源项目作为参考实现。&lt;/p></description></item></channel></rss>