Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllOfList ¶
AllOfList returns all elements of the given list as a slice of type T.
The caller must ensure that every element stored in the list is of type T. If an element has a different type, this function will panic at runtime.
If the list is nil or empty, an empty slice is returned.
func ListOf ¶
ListOf creates a new list.List and populates it with the provided items.
All elements are inserted in the order they appear in the argument list.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.