Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/utgwkk/ctxvalue

A set of wrapper functions for context.WithValue and context.Value with generics.
https://github.com/utgwkk/ctxvalue

context go golang

Last synced: 28 days ago
JSON representation

A set of wrapper functions for context.WithValue and context.Value with generics.

Awesome Lists containing this project

README

        

# ctxvalue

[![Go Reference](https://pkg.go.dev/badge/github.com/utgwkk/ctxvalue.svg)](https://pkg.go.dev/github.com/utgwkk/ctxvalue)

A set of wrapper functions for [context.WithValue](https://pkg.go.dev/context#WithValue) and [context.Value](https://pkg.go.dev/context#Context) with generics.

## Usage

See [value_test.go](./value_test.go).