Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExistItem ¶
func IsExistItem(value interface{}, array interface{}) bool
IsExistItem 判断slice中是否存在某个item
Types ¶
type Array ¶
type Array []interface{}
Array 数组
func RemoveDuplicates ¶
func RemoveDuplicates(array interface{}) Array
RemoveDuplicates 去掉slice中的重复项
func (Array) ToFloat32Slice ¶
ToFloat32Slice Convert to int slice
func (Array) ToFloat64Slice ¶
ToFloat64Slice Convert to int slice
func (Array) ToStringSlice ¶
ToStringSlice convert to string clice
Click to show internal directories.
Click to hide internal directories.