contextx

package
v1.2.0-rc3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithValue

func WithValue(parent context.Context, k, v interface{}) context.Context

WithValue like context.WithValue but faster

Types

type WithContext

type WithContext = func(ctx context.Context) context.Context

func WithContextCompose

func WithContextCompose(withs ...WithContext) WithContext

Jump to

Keyboard shortcuts

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