Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/vet: add check for Context.WithValue(_, string, _) #17293
Using a context.Context Value key of type
All context value keys should be made from user-defined types.
Also disallow int, bool, etc. But string is what I usually see.