neosync

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New[T any](t neosyncTransformer, opts any) *transformer[T]

Types

type EmailTransformer

type EmailTransformer struct {
	// contains filtered or unexported fields
}

func NewEmailTransformer

func NewEmailTransformer(params transformers.Parameters) (*EmailTransformer, error)

func (*EmailTransformer) CompatibleTypes added in v0.5.0

func (t *EmailTransformer) CompatibleTypes() []transformers.SupportedDataType

func (EmailTransformer) Transform

func (t EmailTransformer) Transform(value transformers.Value) (any, error)

type FirstNameTransformer

type FirstNameTransformer struct {
	// contains filtered or unexported fields
}

func NewFirstNameTransformer

func NewFirstNameTransformer(params transformers.Parameters) (*FirstNameTransformer, error)

func (*FirstNameTransformer) CompatibleTypes added in v0.5.0

func (t *FirstNameTransformer) CompatibleTypes() []transformers.SupportedDataType

func (FirstNameTransformer) Transform

func (t FirstNameTransformer) Transform(value transformers.Value) (any, error)

type StringTransformer

type StringTransformer struct {
	// contains filtered or unexported fields
}

func NewStringTransformer

func NewStringTransformer(params transformers.Parameters) (*StringTransformer, error)

func (*StringTransformer) CompatibleTypes added in v0.5.0

func (t *StringTransformer) CompatibleTypes() []transformers.SupportedDataType

func (StringTransformer) Transform

func (t StringTransformer) Transform(value transformers.Value) (any, error)

Jump to

Keyboard shortcuts

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