neosync

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 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) Transform

func (t EmailTransformer) Transform(value any) (any, error)

type FirstNameTransformer

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

func NewFirstNameTransformer

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

func (FirstNameTransformer) Transform

func (t FirstNameTransformer) Transform(value any) (any, error)

type StringTransformer

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

func NewStringTransformer

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

func (StringTransformer) Transform

func (t StringTransformer) Transform(value any) (any, error)

Jump to

Keyboard shortcuts

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