Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMapIntKeys ¶
GetMapIntKeys get map keys,return slice
func IntInSlice ¶
IntInSlice Check int Element Exists in a Slice
func StringInSlice ¶ added in v1.23.0
StringInSlice Check int Element Exists in a Slice
Types ¶
type IntegerRange ¶ added in v1.24.0
IntegerRange use for MergeIntRange
func MergeIntRange ¶ added in v1.24.0
func MergeIntRange(data []IntegerRange) []IntegerRange
MergeIntRange input [1,3], [2,6], [5,10] [2] becomes [1,10] input [11,13], [2,6], [5,10] [2,0] [30,0] becomes [1,10] [11,13] [30,0]
Click to show internal directories.
Click to hide internal directories.