bind

package
v0.0.0-...-a5319db Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bind

func Bind(mapping map[string]interface{}, o interface{}, keys ...string) error

func Map

func Map(typ reflect.Type, v interface{}) (reflect.Value, error)

func Slice

func Slice(typ reflect.Type, v interface{}) (reflect.Value, error)

func Struct

func Struct(typ reflect.Type, v interface{}) (reflect.Value, error)

func StructMap

func StructMap(typ reflect.Type, v interface{}, keys ...string) (reflect.Value, error)

func StructStruct

func StructStruct(typ reflect.Type, v interface{}, keys ...string) (reflect.Value, error)

func Value

func Value(typ reflect.Type, v interface{}) (value reflect.Value, err error)

func ValueFromString

func ValueFromString(typ reflect.Type, v string) (reflect.Value, error)

处理内容为字符串的信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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