mocks

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL