transformer

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 0 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 {
	Type      Type
	Extract   func() interface{}
	Count     func(data interface{})
	Store     func(data interface{}) error
	Transform func(data interface{}) (interface{}, error)
	Iterate   func(f func(id string, kind string, data interface{}) error) error
}

type Type

type Type int64
const (
	Object Type = iota
	String
	Int
	Map
)

Jump to

Keyboard shortcuts

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