Documentation
¶
Index ¶
- Variables
- func IsEmbeddedPrimaryType(name string) bool
- type Type
- func (pt *Type[T]) Assign(e *xml.Element) error
- func (pt *Type[T]) CountValidatedField() int
- func (pt *Type[T]) GetAttributes() attributes.Attributes
- func (pt *Type[T]) GetPath() string
- func (pt *Type[T]) GetXMLTag() []byte
- func (pt *Type[T]) IsValidField(_ string) bool
- func (pt *Type[T]) SetAttributes(attributes attributes.Attributes)
- func (pt *Type[T]) String() string
- func (pt *Type[T]) TransformToXML(buffer *saver.Buffer) error
- func (pt *Type[T]) ValidateField(_ string)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TypeNames []string
)
Functions ¶
func IsEmbeddedPrimaryType ¶
Types ¶
type Type ¶
type Type[T comparable] struct { fmt.Stringer saver.Transformer // contains filtered or unexported fields }
func (*Type[T]) CountValidatedField ¶
func (*Type[T]) GetAttributes ¶
func (pt *Type[T]) GetAttributes() attributes.Attributes
func (*Type[T]) IsValidField ¶
func (*Type[T]) SetAttributes ¶
func (pt *Type[T]) SetAttributes(attributes attributes.Attributes)
func (*Type[T]) ValidateField ¶
Click to show internal directories.
Click to hide internal directories.