package
Version:
v0.0.6
Opens a new window with list of versions in this module.
Published: Jan 19, 2026
License: Apache-2.0
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
¶
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.
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.