utils

package
v0.0.0-...-9b598c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL