Documentation ¶
Index ¶
- func AddValue(object interface{}, value interface{})
- func BooleanValue(value interface{}, defaultValue bool) bool
- func Each(object interface{}, fn func(key interface{}, value interface{}) bool)
- func EachReflect(v reflect.Value, fn func(name string, value reflect.Value) bool)
- func EachReflectWithTag(v reflect.Value, fn func(name string, value reflect.Value) bool, ...)
- func FloatValue(value interface{}, defaultValue float64) float64
- func Get(object interface{}, key string) interface{}
- func GetWithAutoCreate(object interface{}, key string, autocreate bool) interface{}
- func GetWithKeys(object interface{}, keys []string) interface{}
- func IntValue(value interface{}, defaultValue int64) int64
- func IsEmpty(object interface{}) bool
- func IsNil(object interface{}) bool
- func Set(object interface{}, key string, value interface{})
- func SetReflectValue(v reflect.Value, value interface{})
- func SetValue(object interface{}, value interface{})
- func SetWithKeys(object interface{}, keys []string, value interface{})
- func StringValue(value interface{}, defaultValue string) string
- func UintValue(value interface{}, defaultValue uint64) uint64
- type IGetter
- type ISetter
- type IString
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BooleanValue ¶
func EachReflect ¶
func EachReflectWithTag ¶
func FloatValue ¶
func GetWithAutoCreate ¶
func GetWithKeys ¶
func GetWithKeys(object interface{}, keys []string) interface{}
func SetReflectValue ¶
func SetWithKeys ¶
func SetWithKeys(object interface{}, keys []string, value interface{})
func StringValue ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.