Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SafeSlice ¶
type SafeSlice interface { Append(interface{}) // Append the given item to the slice At(int) interface{} // Return the item at the given index position Close() []interface{} // Close the channel and return the slice Delete(int) // Delete the item at the given index position Len() int // Return the number of items in the slice Update(int, UpdateFunc) // Update the item at the given index position }
type UpdateFunc ¶
type UpdateFunc func(interface{}) interface{}
Click to show internal directories.
Click to hide internal directories.