<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>reflect on Hex Blog</title><link>https://hex-go.github.io/tags/reflect/</link><description>Recent content in reflect on Hex Blog</description><generator>Hugo -- gohugo.io</generator><language>zh</language><managingEditor>hex-py@gmail.com (Hex)</managingEditor><webMaster>hex-py@gmail.com (Hex)</webMaster><copyright>©2026, All Rights Reserved</copyright><lastBuildDate>Wed, 21 Oct 2020 09:07:42 +0000</lastBuildDate><atom:link href="https://hex-go.github.io/tags/reflect/index.xml" rel="self" type="application/rss+xml"/><item><title>Go Struct Tag 深入理解 — Tag 规则说明</title><link>https://hex-go.github.io/posts/golang/2020-10-21-go-struct-tag%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%E4%B8%80structtag%E8%A7%84%E5%88%99%E8%AF%B4%E6%98%8E/</link><pubDate>Wed, 21 Oct 2020 09:07:42 +0000</pubDate><author>hex-py@gmail.com (Hex)</author><atom:modified>Wed, 21 Oct 2020 09:07:42 +0000</atom:modified><guid>https://hex-go.github.io/posts/golang/2020-10-21-go-struct-tag%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A3%E4%B8%80structtag%E8%A7%84%E5%88%99%E8%AF%B4%E6%98%8E/</guid><description>重要 Go 的 Struct Tag 是通过 reflect.StructTag.Get(key) 读取的 key:&amp;quot;value&amp;quot; 字符串。json 序列化、gorm ORM 映射、yaml 解析等底层都依赖 Tag。 1. Tag 书写规则 Tag 是一串以空格分隔的 key:&amp;quot;value&amp;quot; 对： 规</description><dc:creator>Hex</dc:creator><category>Go</category><category>reflect</category><category>Golang</category></item></channel></rss>