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