func io.NopCloser
15 uses
io (current package)
io.go#L682: func NopCloser(r Reader) ReadCloser {
io/ioutil
ioutil.go#L91: return io.NopCloser(r)
net/http
client.go#L292: resp.Body = io.NopCloser(strings.NewReader(""))
request.go#L908: rc = io.NopCloser(body)
request.go#L930: return io.NopCloser(r), nil
request.go#L937: return io.NopCloser(&r), nil
request.go#L944: return io.NopCloser(&r), nil
transfer.go#L1093: var nopCloserType = reflect.TypeOf(io.NopCloser(nil))
transfer.go#L1094: var nopCloserWriterToType = reflect.TypeOf(io.NopCloser(struct {
net/http/httptest
httptest.go#L75: req.Body = io.NopCloser(body)
recorder.go#L201: res.Body = io.NopCloser(bytes.NewReader(rw.Body.Bytes()))
net/http/httputil
dump.go#L37: return io.NopCloser(&buf), io.NopCloser(bytes.NewReader(buf.Bytes())), nil
dump.go#L83: req.Body = io.NopCloser(io.LimitReader(neverEnding('x'), contentLength))
dump.go#L302: var emptyBody = io.NopCloser(strings.NewReader(""))
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)