tailscale/util/ctxkey
Joe Tsai c25968e1c5
all: make use of ctxkey everywhere (#10846)
Also perform minor cleanups on the ctxkey package itself.
Provide guidance on when to use ctxkey.Key[T] over ctxkey.New.
Also, allow for interface kinds because the value wrapping trick
also happens to fix edge cases with interfaces in Go.

Updates #cleanup

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2024-01-16 13:56:23 -08:00
..
key_test.go all: make use of ctxkey everywhere (#10846) 2024-01-16 13:56:23 -08:00
key.go all: make use of ctxkey everywhere (#10846) 2024-01-16 13:56:23 -08:00