<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Golang on Yousa Driven Development | YDD</title><link>https://yousali.com/tags/golang/</link><description>Recent content in Golang on Yousa Driven Development | YDD</description><generator>Hugo -- 0.148.1</generator><language>zh</language><lastBuildDate>Mon, 28 Dec 2020 01:32:25 +0800</lastBuildDate><atom:link href="https://yousali.com/tags/golang/index.xml" rel="self" type="application/rss+xml"/><item><title>从 nginx 热更新聊一聊 Golang 中的热更新</title><link>https://yousali.com/posts/server-hot-update/</link><pubDate>Mon, 28 Dec 2020 01:23:35 +0800</pubDate><guid>https://yousali.com/posts/server-hot-update/</guid><description>&lt;h1 id="从-nginx-热更新聊一聊-golang-中的热更新">从 nginx 热更新聊一聊 Golang 中的热更新&lt;/h1>
&lt;blockquote>
&lt;p>静态语言在服务器编程时都会遇到这样的问题：如何保证已有的连接服务不中断同时又升级版本？
最近花了点时间看了下 nginx 热更新代码流程，想了下结合之前的经验一并总结下热更新&lt;/p></description></item><item><title>Go 语言：解决数据库中 null 值的问题</title><link>https://yousali.com/posts/go-mysql-null/</link><pubDate>Thu, 08 Oct 2020 00:46:23 +0800</pubDate><guid>https://yousali.com/posts/go-mysql-null/</guid><description>本文主要介绍如何使用 go 语言 database/sql 库从数据库中读取 null 值的问题，以及如何向数据库中插入 null 值。本文在这里使用的是 sql.NullString, sql.NullInt64, sql.NullFloat64 等结构体，为了方便书写，它们的泛指我会使用 sql.Null 来表示.</description></item></channel></rss>