scope

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Typed

type Typed[T any] struct{}

func (Typed[T]) Get

func (t Typed[T]) Get(ctx context.Context) (T, bool)

func (Typed[T]) MustGet

func (t Typed[T]) MustGet(ctx context.Context) T

func (Typed[T]) Set

func (t Typed[T]) Set(ctx context.Context, v T) context.Context

Jump to

Keyboard shortcuts

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