var io.Discard
12 uses
io (current package)
io.go#L631: var Discard Writer = discard{}
io/ioutil
ioutil.go#L95: var Discard io.Writer = io.Discard
go.uber.org/zap
logger.go#L89: errorOutput: zapcore.AddSync(io.Discard),
writer.go#L95: return zapcore.AddSync(io.Discard)
log
log.go#L84: l.isDiscard.Store(w == io.Discard)
mime/multipart
multipart.go#L326: io.Copy(io.Discard, p)
net/http
client.go#L706: io.CopyN(io.Discard, resp.Body, maxBodySlurpSize)
server.go#L1403: _, err := io.CopyN(io.Discard, w.reqBody, maxPostHandlerReadBytes+1)
server.go#L3516: io.Copy(io.Discard, mb)
transfer.go#L375: nextra, err = t.doBodyCopy(io.Discard, body)
transfer.go#L991: n, err = io.CopyN(io.Discard, bodyLocked{b}, maxPostHandlerReadBytes)
transfer.go#L1002: _, err = io.Copy(io.Discard, bodyLocked{b})
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |