utils

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container[T any] struct {
	// contains filtered or unexported fields
}

func NewContainer

func NewContainer[T any]() *Container[T]

func NewContainerWithDefault

func NewContainerWithDefault[T any](value T) *Container[T]

func (*Container[T]) Read

func (c *Container[T]) Read() T

func (*Container[T]) Store

func (c *Container[T]) Store(val T)

Jump to

Keyboard shortcuts

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