]> Cypherpunks repositories - gostls13.git/commit
all: use SeekStart, SeekCurrent, SeekEnd
authorJoe Tsai <joetsai@digital-static.net>
Tue, 5 Apr 2016 18:22:53 +0000 (11:22 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 6 May 2016 00:10:41 +0000 (00:10 +0000)
commitacc757f678a42ba1ffbf8bb9886de4fe080302de
treef412c541e65290080925060d7d748ec7ef4f4ecb
parent6db98a3c51549eb5e1e481e9bca6ede7e8e15f54
all: use SeekStart, SeekCurrent, SeekEnd

CL/19862 (f79b50b8d5bc159561c1dcf7c17e2a0db96a9a11) recently introduced the constants
SeekStart, SeekCurrent, and SeekEnd to the io package. We should use these constants
consistently throughout the code base.

Updates #15269

Change-Id: If7fcaca7676e4a51f588528f5ced28220d9639a2
Reviewed-on: https://go-review.googlesource.com/22097
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Joe Tsai <joetsai@digital-static.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
27 files changed:
src/bufio/bufio_test.go
src/bytes/reader.go
src/bytes/reader_test.go
src/cmd/go/note.go
src/cmd/internal/goobj/read.go
src/cmd/pack/pack.go
src/debug/elf/file_test.go
src/debug/elf/reader.go
src/go/internal/gccgoimporter/importer.go
src/io/example_test.go
src/io/io.go
src/io/io_test.go
src/net/file_plan9.go
src/net/http/internal/chunked_test.go
src/net/lookup_plan9.go
src/os/file_plan9.go
src/os/file_windows.go
src/os/os_test.go
src/runtime/runtime-lldb_test.go
src/strings/reader.go
src/strings/strings_test.go
src/syscall/fd_nacl.go
src/syscall/fs_nacl.go
src/syscall/syscall_unix_test.go
src/time/sys_plan9.go
src/time/sys_unix.go
src/time/sys_windows.go