castx

package
v0.0.95 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToFloatSlice

func ToFloatSlice(i interface{}) []float64

ToFloatSlice casts an interface to a []float64 type.

func ToFloatSliceE

func ToFloatSliceE(i interface{}) ([]float64, error)

ToFloatSliceE casts an interface to a []float64 type.

func ToStringSlice

func ToStringSlice(i interface{}) []string

ToStringSlice casts an interface to a []string type and respects comma-separated values.

func ToStringSliceE

func ToStringSliceE(i interface{}) ([]string, error)

ToStringSliceE casts an interface to a []string type and respects comma-separated values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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