package
Version:
v1.0.0-alpha5
Opens a new window with list of versions in this module.
Published: Mar 27, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetRandomIndices(indiceCount, highestIndex int) []int
GetRandomIndices returns a slice of random indices
from 0 to given highestIndex
func IndexInSlice(array interface{}, o interface{}, equals Equals) int
IndexInSlice returns the index of given object o in array
RandomInt returns, as an int, a non-negative pseudo-random integer in [0,n)
It panics if n <= 0
RandomUInt64 returns a random uint64
type Equals func(a interface{}, b interface{}) bool
Equals returns whether a and b are the same
Set is a generic and thread-safe
set container
Source Files
¶
Click to show internal directories.
Click to hide internal directories.