diff --git a/src/os/file.go b/src/os/file.go index 4d2458a5..9fa8f2cf 100644 --- a/src/os/file.go +++ b/src/os/file.go @@ -10,6 +10,15 @@ import ( "syscall" ) +// Seek whence values. +// +// Deprecated: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. +const ( + SEEK_SET int = io.SeekStart + SEEK_CUR int = io.SeekCurrent + SEEK_END int = io.SeekEnd +) + // Mkdir creates a directory. If the operation fails, it will return an error of // type *PathError. func Mkdir(path string, perm FileMode) error {