Merge remote-tracking branch 'yourabi/master'
This commit is contained in:
commit
6e48a2324e
@ -32,6 +32,7 @@ func main() {
|
|||||||
// parts of a file are read. For these tasks, start
|
// parts of a file are read. For these tasks, start
|
||||||
// by `Open`ing a file to obtain an `os.File` value.
|
// by `Open`ing a file to obtain an `os.File` value.
|
||||||
f, err := os.Open("/tmp/dat")
|
f, err := os.Open("/tmp/dat")
|
||||||
|
check(err)
|
||||||
|
|
||||||
// Read some bytes from the beginning of the file.
|
// Read some bytes from the beginning of the file.
|
||||||
// Allow up to 5 to be read but also note how many
|
// Allow up to 5 to be read but also note how many
|
||||||
|
Loading…
x
Reference in New Issue
Block a user