Documentation ¶
Overview ¶
Package rock As the cornerstone of implementing generic methods, implementing generic related operations with minimal dependencies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractParam ¶
func ExtractParam[T constraints.Equable](defValue T, args ...T) T
ExtractParam Extract indefinite parameters from functions and default code values
func ExtractParamFunc ¶ added in v1.4.0
func ExtractParamFunc[T constraints.Equable](defFunc func() T, args ...T) T
ExtractParamFunc Implementing parameter extraction through custom callback functions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.