Documentation ¶
Index ¶
- func CleanDescription(desc string) string
- func Contains[T comparable](arr []T, elem T) bool
- func Filter[T any](methods []T, pred func(m T) bool) []T
- func IndexOf[T comparable](arr []T, elem T) int
- func IsTimeField(field types.Type) bool
- func Map[T any, U any](input []T, transform func(m T) U) []U
- func RemoveElement[T comparable](arr []T, elem T) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanDescription ¶
func Contains ¶
func Contains[T comparable](arr []T, elem T) bool
func IndexOf ¶
func IndexOf[T comparable](arr []T, elem T) int
func IsTimeField ¶
func RemoveElement ¶
func RemoveElement[T comparable](arr []T, elem T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.