Documentation ¶
Overview ¶
Package cast provides casting for sparse and dense arrays.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DenseCollectionToInterface ¶
func DenseCollectionToInterface(elms []interface{}) (interface{}, error)
DenseCollectionToInterface casts a slice of interfaces to an interface of the correct type.
func SparseCollectionToInterface ¶
SparseCollectionToInterface casts a slice of interfaces to an interface of the correct type for the provided sparse collection. This should be used for sparse as it should be faster for larger arrays.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.