Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyPointer ¶
func CopyPointer[T any](valPtr *T) *T
func GetMapFromSlice ¶
func GetMapFromSlice[T comparable](slice []T) map[T]struct{}
func GetPointer ¶
func GetPointer[T any](val T) *T
func GetValueFromPointer ¶
func GetValueFromPointer[T any](val *T, defaultVal T) T
func SliceToInt ¶
func SliceToInt[T constraints.Integer](val []T) []int
func StringTruncate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.