execution

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterfaceScanner added in v0.3.0

type InterfaceScanner[T any] interface {
	Scan(data []byte) (T, error)
}

type TypeNameScanner added in v0.3.0

type TypeNameScanner[T any] struct {
	// contains filtered or unexported fields
}

func NewTypeNameScanner added in v0.3.0

func NewTypeNameScanner[T any](types map[string]reflect.Type, typeNameKey string) *TypeNameScanner[T]

func (*TypeNameScanner[T]) ScanJson added in v0.3.0

func (t *TypeNameScanner[T]) ScanJson(data []byte) (T, error)

func (*TypeNameScanner[T]) ScanRow added in v0.3.0

func (t *TypeNameScanner[T]) ScanRow(row pgx.CollectableRow) (T, error)

Directories

Path Synopsis
sql

Jump to

Keyboard shortcuts

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