wrapper

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply[T any](initial T, wrappers []Wrapper[T]) T

Types

type Wrapper

type Wrapper[T any] func(T) T

func Nop

func Nop[T any]() Wrapper[T]

func Replacer

func Replacer[T any](t T) Wrapper[T]

type WrapperWithInfo

type WrapperWithInfo[T, R any] func(t T, info R) T

Jump to

Keyboard shortcuts

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