Documentation ¶
Overview ¶
Package arrays includes several sub-packages allowing type-safe execution of tasks commonly applied to slices.
Index ¶
- func CompareFloat64Slices(a, b []float64) int
- func CompareInt64Slices(a, b []int64) int
- func CompareIntSlices(a, b []int) int
- func CompareStringSlices(a, b []string) int
- func EqualFloat64(a, b []float64) bool
- func EqualInt(a, b []int) bool
- func EqualInt64(a, b []int64) bool
- func EqualString(a, b []string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareFloat64Slices ¶
Treats smaller slices as being less than bigger ones and then does a per index comparison betweeen the two slices.
func CompareInt64Slices ¶
Treats smaller slices as being less than bigger ones and then does a per index comparison betweeen the two slices.
func CompareIntSlices ¶
Treats smaller slices as being less than bigger ones and then does a per index comparison betweeen the two slices.
func CompareStringSlices ¶
Treats smaller slices as being less than bigger ones and then does a per index comparison betweeen the two slices.
func EqualFloat64 ¶
func EqualInt64 ¶
func EqualString ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package dedupe comprises types and functions in support of removing duplicates from a slice of a given type.
|
Package dedupe comprises types and functions in support of removing duplicates from a slice of a given type. |
Package indexof comprises types and functions in support of finding the index of a target value within a slice of same-typed values.
|
Package indexof comprises types and functions in support of finding the index of a target value within a slice of same-typed values. |
Click to show internal directories.
Click to hide internal directories.