diff --git a/examples/reading-files/reading-files.go b/examples/reading-files/reading-files.go index 5a930a3..807195f 100644 --- a/examples/reading-files/reading-files.go +++ b/examples/reading-files/reading-files.go @@ -33,7 +33,7 @@ func main() { // by `Open`ing a file to obtain an `os.File` value. f, err := os.Open("/tmp/dat") check(err) - + // Read some bytes from the beginning of the file. // Allow up to 5 to be read but also note how many // actually were read. diff --git a/examples/reading-files/reading-files.hash b/examples/reading-files/reading-files.hash index d39e052..c56535c 100644 --- a/examples/reading-files/reading-files.hash +++ b/examples/reading-files/reading-files.hash @@ -1,2 +1,2 @@ -251ab050de24051bb7d9858940421fdec41fa674 -VcLqpSwnkN +2aa7a2e248065cebfa6f8eece3234b5ffa710273 +2kEKXq-kUV diff --git a/public/reading-files b/public/reading-files index a40b69e..868299e 100644 --- a/public/reading-files +++ b/public/reading-files @@ -41,7 +41,7 @@ reading files.
package main
Open
ing a file to obtain an os.File
value.
f, err := os.Open("/tmp/dat")
+ check(err)