context.Context.Value (method)

13 uses

	context (current package)
		context.go#L159: 	Value(key any) any
		context.go#L284: 	if cc, ok := c.Value(&cancelCtxKey).(*cancelCtx); ok {
		context.go#L372: 	p, ok := parent.Value(&cancelCtxKey).(*cancelCtx)
		context.go#L782: 			return c.Value(key)

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

	net
		dial.go#L481: 	if trace, _ := ctx.Value(nettrace.TraceKey{}).(*nettrace.Trace); trace != nil {
		dial.go#L632: 	trace, _ := ctx.Value(nettrace.TraceKey{}).(*nettrace.Trace)
		lookup.go#L280: 		return ovc.lookupValues.Value(key)
		lookup.go#L302: 	trace, _ := ctx.Value(nettrace.TraceKey{}).(*nettrace.Trace)
		lookup.go#L310: 	if alt, _ := ctx.Value(nettrace.LookupIPAltResolverKey{}).(func(context.Context, string, string) ([]IPAddr, error)); alt != nil {

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

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