mapper

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Name is used to map column names to struct field names.  By default,
	// it uses strings.ToLower to lowercase struct field names.  It can be set
	// to whatever you want, but it is encouraged to be set before sqlx is used
	// as name-to-field mappings are cached after first use on a type.
	Name = strings.ToLower
)

Functions

func New

func New() *reflectx.Mapper

New returns a valid mapper using the configured Name func.

Types

This section is empty.

Jump to

Keyboard shortcuts

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