func io.NopCloser
10 uses
io (current package)
io.go#L674: func NopCloser(r Reader) ReadCloser {
io/ioutil
ioutil.go#L88: return io.NopCloser(r)
net/http
client.go#L293: resp.Body = io.NopCloser(strings.NewReader(""))
request.go#L883: rc = io.NopCloser(body)
request.go#L905: return io.NopCloser(r), nil
request.go#L912: return io.NopCloser(&r), nil
request.go#L919: return io.NopCloser(&r), nil
transfer.go#L1077: var nopCloserType = reflect.TypeOf(io.NopCloser(nil))
transfer.go#L1078: var nopCloserWriterToType = reflect.TypeOf(io.NopCloser(struct {
nhooyr.io/websocket
dial.go#L146: resp.Body = io.NopCloser(bytes.NewReader(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. |