Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToPointers ¶
func ToPointers[T any](items []T) []*T
Convert an array of item to an array of pointer of items. This is sometimes needed when you want to pass a slice of items to a function that expects a slice of pointers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.