Adam Presley
1 min readMar 21, 2020

--

The “ctx.Stream” writes the contents of “gridFile” to the output writer, meaning it sends the contents as a response to an HTTP request. If you wanted to pass the file to another method, “gridFile” would be what you want. “gridFile” implements “io.Reader”.

--

--

Adam Presley

Just a guy who loves his wife, kids, and writing software.