package models import ( "encoding/xml" ) type Watchdog struct { XMLName xml.Name `xml:"Watchdog"` Enabled bool `xml:"Enabled,attr"` TimeUnit string `xml:"TimeUnit,attr"` }