DEV Community

Discussion on: What is the io.Reader in Go?

Collapse
 
_graphei profile image
Mavreen Marra

Thank you for such an informative & entertaining post, &y! I've been struggling with these concepts, but working it out like this has helped a lot.

As a note, I needed to change file, err := os.OpenFile(...) to file, err := os.Open(...) for some reason.