// Element
type List struct {
XMLName xml.Name `xml:"List"`
Ccc []string `xml:",any"`
}
// Element
type List struct {
XMLName xml.Name `xml:"List"`
Ddd []int `xml:",any"`
}
[...]
While i would expect this to be prefixed, or solved via anonymous structs, like e.g.:
// Element
type AaaList struct {
XMLName xml.Name `xml:"List"`
Ccc []string `xml:",any"`
}
// Element
type BbbList struct {
XMLName xml.Name `xml:"List"`
Ddd []int `xml:",any"`
}
[...]
Hi!
The tool is installed via
Consider the following:
This results in:
While i would expect this to be prefixed, or solved via anonymous structs, like e.g.:
or
Thanks for consideration!