diff --git a/interfaces/15-png-detector/.gitignore b/interfaces/15-png-detector/.gitignore new file mode 100644 index 0000000..4390d68 --- /dev/null +++ b/interfaces/15-png-detector/.gitignore @@ -0,0 +1 @@ +rosie.unknown \ No newline at end of file diff --git a/interfaces/15-png-detector/main.go b/interfaces/15-png-detector/main.go index 690d63d..646eb9a 100644 --- a/interfaces/15-png-detector/main.go +++ b/interfaces/15-png-detector/main.go @@ -36,8 +36,8 @@ func main() { } defer resp.Body.Close() - // stream from the standard input to the in-memory buffer in 32KB data chunks. - // os.Stdin.Read(...) -> memory.Write(...) + // stream from the web server to the in-memory buffer in 32KB data chunks. + // resp.Body.Read(...) -> memory.Write(...) if _, err := io.Copy(&memory, resp.Body); err != nil { log.Fatal(err) }