We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1747788 commit acefcb7Copy full SHA for acefcb7
src/io/io.go
@@ -16,6 +16,13 @@ import (
16
"errors"
17
)
18
19
+// Seek whence values.
20
+const (
21
+ SeekStart = 0 // seek relative to the origin of the file
22
+ SeekCurrent = 1 // seek relative to the current offset
23
+ SeekEnd = 2 // seek relative to the end
24
+)
25
+
26
// ErrShortWrite means that a write accepted fewer bytes than requested
27
// but failed to return an explicit error.
28
var ErrShortWrite = errors.New("short write")
0 commit comments