News for hackers. Stuff that matters.
Re:Go Creeping In by saturn_vk on Tuesday June 18, 2019 @09:43AM (#20212875)
Context's WithValue will be an interface even if go supported generics. It stores anything, not values of a specified type. Same with fmt
Re:Go Creeping In by ben0x539 on Tuesday June 18, 2019 @10:24AM (#20213345)
Yeah, that's what I meant with "some aren't", I was mostly listing stuff to support the idea that `interface{}` itself is ubiquitous and not some super-niche edge case that never shows up in real code.