go

How to create JSON for Go struct

英文: How to create JSON for Go struct 问题 我正在尝试使用Marshal函数从Go结构体创建JSON。创建的JSON不包含Person结构体。我错过了什么? typ...