Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transformer ¶
type Transformer struct {
TransformFn func(transformers.Value) (any, error)
CompatibleTypesFn func() []transformers.SupportedDataType
}
func (*Transformer) CompatibleTypes ¶ added in v0.5.0
func (m *Transformer) CompatibleTypes() []transformers.SupportedDataType
func (*Transformer) Transform ¶
func (m *Transformer) Transform(val transformers.Value) (any, error)
Click to show internal directories.
Click to hide internal directories.