dyn

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FieldByTag

func FieldByTag(cate string, sv reflect.Value, tagName string) (v reflect.Value)

func Float

func Float(data interface{}) (val float64, ok bool)

func Get

func Get(data interface{}, key string) (v interface{}, ok bool)

func GetFloat

func GetFloat(data interface{}, key string) (val float64, ok bool)

func GetInt

func GetInt(data interface{}, key string) (val int64, ok bool)

func GetString

func GetString(data interface{}, key string) (val string, ok bool)

func GetVal

func GetVal(cate string, data reflect.Value, key string) (v reflect.Value, ok bool)

func Int

func Int(data interface{}) (val int64, ok bool)

func String

func String(data interface{}) (val string, ok bool)

func TagName

func TagName(tag string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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