transformer

package
v1.452.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: MIT 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 interface {
	// Transform transforms a value.
	Transform(ctx context.Context, value string) (string, error)

	// IsMissing returns true if the error is a missing error.
	IsMissing(err error) bool
}

Transformer is an interface for transforming values.

type Transformers

type Transformers map[string]Transformer

Transformers is a map of transformers.

Jump to

Keyboard shortcuts

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