fix: png detector comments iface

This commit is contained in:
Inanc Gumus
2019-11-05 13:47:53 +03:00
parent ff25bcdcb9
commit 09d6c3a110
2 changed files with 3 additions and 2 deletions

1
interfaces/15-png-detector/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
rosie.unknown

View File

@ -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)
}