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”.