Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckValidate ¶
func CheckValidate(v interface{}) error
Types ¶
type AdditionalField ¶
func (*AdditionalField) MarshalXMLAttr ¶
func (*AdditionalField) UnmarshalXMLAttr ¶
func (a *AdditionalField) UnmarshalXMLAttr(attr xml.Attr) error
type AdditionalFields ¶
type AdditionalFields struct { AdditionalFields AdditionalFieldsType `xml:",any,attr"` CustomElements []AnyHolder `xml:",any"` }
type AdditionalFieldsType ¶
type AdditionalFieldsType []AdditionalField
type AgDesc ¶
type AgDesc struct {
DescAttr *string `xml:"desc,attr,omitempty" json:"desc,omitempty"`
}
"AttributeGroup" AgDesc ...
type AnyHolder ¶
type AnyHolder struct {
MModel
}
func (*AnyHolder) MarshalXML ¶
func (*AnyHolder) UnmarshalXML ¶
type TBaseElement ¶
type TBaseElement struct { NodeID AdditionalFields AdditionalFieldsType `xml:",any,attr"` CustomElements []AnyHolder `xml:",any"` }
"ComplexType" TBaseElement ...
func (*TBaseElement) Validate ¶
func (t *TBaseElement) Validate() error
type TNaming ¶
type TNaming struct { TBaseElement AgDesc // AttributeGroup NameAttr TName `xml:"name,attr" json:"name"` }
"ComplexType" TNaming ...
type TUnNaming ¶
type TUnNaming struct { TBaseElement AgDesc // AttributeGroup }
"ComplexType" TUnNaming ...
type UnsignedInt ¶
type UnsignedInt string
func (*UnsignedInt) Validate ¶
func (u *UnsignedInt) Validate() error
Click to show internal directories.
Click to hide internal directories.