4 ms·
You call that a WAT? I'll show you a WAT. https://play.golang.org/p/ePRpDbaFaRl https://play.golang.org/p/ePRpDbaFaRl
by nemo1618 8y ago
You call that a WAT? I'll show you a WAT.
https://play.golang.org/p/ePRpDbaFaRl https://play.golang.org/p/ePRpDbaFaRl
- Buge 8y agoIt is confusing, but at least the io.Writer documentation calls it out as bad code https://golang.org/pkg/io/#Writer https://golang.org/pkg/io/#Writer >Implementations must not retain p.