Documentation
¶
Index ¶
- func Date(v interface{}) types.Date
- func DateE(v interface{}) (d types.Date, err error)
- func DateTime(v interface{}) types.DateTime
- func DateTimeE(v interface{}) (dt types.DateTime, err error)
- func DateYearMonth(v interface{}) types.DateYearMonth
- func DateYearMonthE(v interface{}) (d types.DateYearMonth, err error)
- func Float64(v interface{}) float64
- func Float64E(v interface{}) (o float64, err error)
- func Int(i interface{}) int
- func IntE(input interface{}) (output int, err error)
- func SnakeCase(in string) string
- func String(input interface{}) string
- func StringE(input interface{}) (output string, err error)
- func Time(v interface{}) time.Time
- func TimeE(v interface{}) (t time.Time, err error)
- func Uint(v interface{}) uint
- func Uint64(v interface{}) uint64
- func Uint64E(v interface{}) (o uint64, err error)
- func UintE(v interface{}) (o uint, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DateYearMonth ¶
func DateYearMonth(v interface{}) types.DateYearMonth
DateYearMonth cast input to types.DateYearMonth and return default value if error.
func DateYearMonthE ¶
func DateYearMonthE(v interface{}) (d types.DateYearMonth, err error)
DateYearMonthE cast input to types.DateYearMonth and return the associated error.
func Float64 ¶
func Float64(v interface{}) float64
Float64 cast v to float64 and return default value if there is any error.
func String ¶
func String(input interface{}) string
String cast input to string and return default value if error
func Uint ¶
func Uint(v interface{}) uint
Uint cast v to uint64 and return default value if there is any error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.