mapper

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(c context.Context, s interface{}, path []string) (interface{}, error)

func ExtractType added in v0.3.0

func ExtractType(c context.Context, curType reflect.Type, path []string) (reflect.Type, error)

Types

type Builder added in v0.3.0

type Builder func(cols []string, vals []interface{}) (interface{}, error)

func MakeBuilder added in v0.3.0

func MakeBuilder(c context.Context, sType reflect.Type) (Builder, error)

Jump to

Keyboard shortcuts

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