v0.2.4
Features
Bool
improve performance for direct typeBool
supporttime.Duration
Bool
supportjson.Number
- Support new functions:
Field
/SliceInt
/SliceInt64
/SliceFloat64
/SliceString
func Field(v interface{}, field interface{}, def ...interface{}) interface{}
func SliceInt(v interface{}, def ...[]int) []int
func SliceInt64(v interface{}, def ...[]int64) []int64
func SliceFloat64(v interface{}, def ...[]float64) []float64
func SliceString(v interface{}, def ...[]string) []string
- Documents site: https://cvt.shockerli.net