]> Cypherpunks repositories - gostls13.git/commit
os: deprecate os.SEEK_SET, os.SEEK_CUR, and os.SEEK_END
authorJoe Tsai <joetsai@digital-static.net>
Tue, 5 Apr 2016 18:29:15 +0000 (11:29 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 5 Apr 2016 19:59:50 +0000 (19:59 +0000)
commit260ea689992c4d4eccbebdc2750c707213934f50
tree3297509ed47e09ce883f0a82e47673ae0c50b4c2
parentf79b50b8d5bc159561c1dcf7c17e2a0db96a9a11
os: deprecate os.SEEK_SET, os.SEEK_CUR, and os.SEEK_END

CL/19862 introduced the same set of constants to the io package.
We should steer users away from the os.SEEK* versions and towards
the io.Seek* versions.

Updates #6885

Change-Id: I96ec5be3ec3439e1295c937159dadaf1ebfb2737
Reviewed-on: https://go-review.googlesource.com/21540
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/os/file.go