context.Context.Value (method)

13 uses

	context (current package)
		context.go#L162: 	Value(key any) any
		context.go#L293: 	if cc, ok := c.Value(&cancelCtxKey).(*cancelCtx); ok {
		context.go#L387: 	p, ok := parent.Value(&cancelCtxKey).(*cancelCtx)
		context.go#L803: 			return c.Value(key)

	go.opentelemetry.io/otel/trace
		context.go#L41: 	if span, ok := ctx.Value(currentSpanKey).(Span); ok {

	net
		dial.go#L532: 	if trace, _ := ctx.Value(nettrace.TraceKey{}).(*nettrace.Trace); trace != nil {
		dial.go#L774: 	trace, _ := ctx.Value(nettrace.TraceKey{}).(*nettrace.Trace)
		lookup.go#L291: 		return ovc.lookupValues.Value(key)
		lookup.go#L313: 	trace, _ := ctx.Value(nettrace.TraceKey{}).(*nettrace.Trace)
		lookup.go#L321: 	if alt, _ := ctx.Value(nettrace.LookupIPAltResolverKey{}).(func(context.Context, string, string) ([]IPAddr, error)); alt != nil {

	net/http
		server.go#L3658: 	s, _ := r.Context().Value(ServerContextKey).(*Server)
		transport.go#L2968: 	if logf, ok := tr.Request.Context().Value(tLogKey{}).(func(string, ...any)); ok {

	net/http/httptrace
		trace.go#L25: 	trace, _ := ctx.Value(clientEventContextKey{}).(*ClientTrace)