package models import ( "encoding/xml" ) type CoordinateInfo struct { XMLName xml.Name `xml:"coordinateInfo"` Fbd Fbd `xml:"fbd"` Ld Ld `xml:"ld"` Sfc Sfc `xml:"sfc"` CreationDateTime string `xml:"creationDateTime,attr"` } func (c *CoordinateInfo) Default() { c.Fbd.Default() c.Ld.Default() c.Sfc.Default() }