Does anyone have a good or any explanation of Golang\'s NopCloser function? I looked around but failed to find anything besides Golang\'s main doc\'s explanation of:
It's used for functions that require io.ReadCloser but your current object (for example a bytes.Buffer) doesn't provide a Close function.
io.ReadCloser
bytes.Buffer