ctxstore

package
v0.0.0-...-44a2381 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func From

func From[T any](ctx context.Context, key Key) (T, bool)

func MustFrom

func MustFrom[T any](ctx context.Context, key Key) T

func With

func With[T any](ctx context.Context, key Key, value T) context.Context

Types

type Key

type Key string

func (Key) String

func (k Key) String() string

Jump to

Keyboard shortcuts

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