Documentation ¶
Overview ¶
Package sliceutils is an internal package used by github.com/addrummond/iskiplist.
Index ¶
Constants ¶
View Source
const ( OpInsert = iota OpRemove OpSwap )
Variables ¶
This section is empty.
Functions ¶
func ApplyOpToSlice ¶
func ApplyOpToSlice(op *Op, a *[]elemType)
func SliceInsert ¶
func SliceInsert(a *[]elemType, index int, elem elemType)
func SliceRemove ¶
func SliceRemove(a *[]elemType, index int) elemType
Types ¶
type Op ¶
func GenOpsWithLotsOfPushing ¶
Click to show internal directories.
Click to hide internal directories.