package atomfeed import "errors" type Logo struct { *CommonAttributes URI IRI `xml:"uri"` } func (l *Logo) Check() error { if l.URI == "" { return errors.New("uri element of logo empty") } return nil }