Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Filter ¶
Filter does what it says and creates a new list with all values which evaluate the predicate to true.
func MakeWithCapacity ¶
MakeWithCapacity exists to simply create a slice with the provided pre-allocated capacity. Why not just use `make([]T, cap)` you might ask? Well, cause that's broken again. You've missed the zero indicating a length of zero - again. Thanks go.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.