首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
go_xml_learn
】的更多相关文章
go_xml_learn
结构体转换为xml: type Person struct { XMLName xml.Name `xml:"person"` Name string `xml:"name"` Age int `xml:"age"` Email string `xml:"email"` } func main() { person := Person{ Name: "tom", Age: 20, Email: "…