Documentation
¶
Index ¶
- func AppendBuiltinInt64Slice(s1, s2 []int64) (slice []int64)
- func AppendBuiltinUint64Slice(s1, s2 []uint64) (slice []uint64)
- func IntContains(slice []int64, val int64) (ok bool)
- func ToBuiltinInt64Slice(slice []Int64) (int64Slice []int64)
- func ToBuiltinUint64Slice(slice []Uint64) (int64Slice []uint64)
- func Uint64Contains(slice []uint64, val uint64) (ok bool)
- type Int64
- type Uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendBuiltinInt64Slice ¶ added in v0.3.6
AppendBuiltinInt64Slice 合并(追加方式)2个切片
func AppendBuiltinUint64Slice ¶ added in v0.3.6
AppendBuiltinUint64Slice 合并(追加方式)2个切片
func IntContains ¶ added in v0.3.3
IntContains 判断 item 是否存在 切片中
func ToBuiltinInt64Slice ¶
ToBuiltinInt64Slice Int64类型切片转换为 系统内置标准的int64类型切片
func ToBuiltinUint64Slice ¶ added in v0.3.6
ToBuiltinUint64Slice Uint64类型切片转换为 系统内置标准的uint64类型切片
func Uint64Contains ¶ added in v0.3.6
Uint64Contains 判断 item是发在指定的切片中
Types ¶
type Int64 ¶
type Int64 int64
Int64Str 实现主要来源于 https://stackoverflow.com/questions/49415573/golang-json-how-do-i-unmarshal-array-of-strings-into-int64?rq=1
func AppendInt64Slice ¶ added in v0.3.6
AppendInt64Slice 合并(追加方式)2个切片
func ToInt64Slice ¶
ToInt64Slice 系统内置标准的int64类型切片 转换为Int64类型切片
func (*Int64) UnmarshalJSON ¶
UnmarshalJSON 满足json 反序列化接口
type Uint64 ¶ added in v0.3.6
type Uint64 uint64
func AppendUint64Slice ¶ added in v0.3.6
AppendUint64Slice 合并(追加方式)2个切片
func ToUint64Slice ¶ added in v0.3.6
ToUint64Slice 系统内置标准的uint64类型切片 转换为Uint64类型切片
func (Uint64) MarshalJSON ¶ added in v0.3.6
MarshalJSON 满足json 序列化接口
func (*Uint64) UnmarshalJSON ¶ added in v0.3.6
UnmarshalJSON 满足json 反序列化接口
Click to show internal directories.
Click to hide internal directories.