valuer

package
v0.1.53 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Creator

type Creator func(schema *schema.Schema, entity any) Valuer

type Valuer

type Valuer interface {
	SetColumn(rows *sql.Rows) error

	Field(fieldName string) (any, error)
}

func NewReflectValuer

func NewReflectValuer(schema *schema.Schema, entity any) Valuer

func NewUnsafeValuer

func NewUnsafeValuer(schema *schema.Schema, entity any) Valuer

Jump to

Keyboard shortcuts

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