containers

package
v1.31.3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyAll

func ApplyAll[T any](t *T, opts ...Option[T])

ApplyAll takes a pointer to type T and it passes it onto each supplied Option function in the supplied order.

Types

type Option

type Option[T any] func(*T)

Option is any function which receives a pointer to any type T.

Jump to

Keyboard shortcuts

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