Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeFunctionalParameter ¶
func MakeFunctionalParameter[T any, U any](dest string) func(value T) FunctionalParameter[U]
MakeFunctionalParameter creates a functional parameter for the specified struct field and with the specified value type T: is the type of the functional parameter dest: is the name of the field that the functional parameter will set
Types ¶
type FunctionalParameter ¶
type FunctionalParameter[T any] func(request *T)
Click to show internal directories.
Click to hide internal directories.