package
Version:
v2.0.0+incompatible
Opens a new window with list of versions in this module.
Published: Aug 28, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Range struct {
Low int
High int
}
Range represents part of a slice
High and low can be used with a golang slice [Low:High]
Partition calculates the indexes for splitting a slice of size length
with a max partition size of size
SafeBool is a thread safe boolean
Get the value inside the SafeBool
Set the value inside the SafeBool
SafeError is a thread safe error
Get the value inside the SafeError
Set the value inside the SafeError
SafeInt is a thread safe int
Add a value to the SafeInt
Get the value inside SafeInt
Set the value of the SafeInt
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.