Documentation
¶
Overview ¶
Package attribute provide several helper functions for some commonly used logic of processing attributes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsSlice ¶ added in v1.43.0
func AsSlice[T sliceElem](v any) []T
AsSlice converts an array into a slice with the same elements.
func SliceValue ¶ added in v1.43.0
func SliceValue[T sliceElem](v []T) any
SliceValue converts a slice into an array with the same elements.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.