cas

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToBool

func ToBool(v any) (bool, error)

func ToDuration

func ToDuration(v any) (time.Duration, error)

func ToFloat32

func ToFloat32(v any) (float32, error)

func ToFloat64

func ToFloat64(v any) (float64, error)

func ToInt

func ToInt(v any) (int, error)

func ToInt16

func ToInt16(v any) (int16, error)

func ToInt32

func ToInt32(v any) (int32, error)

func ToInt64

func ToInt64(v any) (int64, error)

func ToInt8

func ToInt8(v any) (int8, error)

func ToString

func ToString(v any) (string, error)

func ToTime

func ToTime(v any) (time.Time, error)

func ToUint

func ToUint(v any) (uint, error)

func ToUint16

func ToUint16(v any) (uint16, error)

func ToUint32

func ToUint32(v any) (any, error)

func ToUint64

func ToUint64(v any) (uint64, error)

func ToUint8

func ToUint8(v any) (uint8, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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