摘要:
关于Etree XML官方文档 etreeThe etree package is a lightweight, pure go package that expresses XML in the form of an element tree. Its design was inspired by 阅读全文
摘要:
package main import ( "encoding/xml" "fmt" ) type person struct { Name string `xml:"name,attr"` Age int `xml:"年龄"` } func main() { p := person{Name: " 阅读全文