mappers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 6 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GonxMapper

type GonxMapper[T table.MapInitialisedRow] struct {
	// contains filtered or unexported fields
}

func NewGonxMapper

func NewGonxMapper[T table.MapInitialisedRow](formats ...string) *GonxMapper[T]

func (*GonxMapper[T]) Identifier

func (c *GonxMapper[T]) Identifier() string

func (*GonxMapper[T]) Map

func (c *GonxMapper[T]) Map(_ context.Context, a any, opts_ ...table.MapOption[T]) (T, error)

func (*GonxMapper[T]) SetSchema

func (c *GonxMapper[T]) SetSchema(schema *schema.RowSchema)

SetSchema implements SchemaSetter interface

Jump to

Keyboard shortcuts

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