//svn xml log path struct
type Path struct {
Action string `xml:"action,attr"`
Kind string `xml:"kind,attr"`
Path string `xml:",chardata"`
}
//svn xml log logentry struct
type Logentry struct {
Revision string `xml:"revision,attr"`
Author string `xml:"author"`
Date string `xml:"date"`
Paths []Path `xml:"paths>path"`
Msg string `xml:"msg"`
}
//svn xml log result struct
type SvnXmlLogs struct {
Logentry []Logentry `xml:"logentry"`
}
这篇文章还没有人留言,快来抢沙发吧。