Documentation ¶
Index ¶
- Variables
- func Locked(locker sync.Locker, fn func())
- func NewCallerError(cause error) error
- func ReadExactly(r io.Reader, out []byte) error
- func ReadExactlyAt(r io.ReaderAt, out []byte, offset int64) error
- func WriteExactly(w io.Writer, in []byte) error
- func WriteExactlyAt(w io.WriterAt, in []byte, offset int64) error
- type CallerError
- type Comparison
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrShortRead = errors.New("short read")
Functions ¶
func NewCallerError ¶
Types ¶
type CallerError ¶
func (CallerError) Error ¶
func (err CallerError) Error() string
type Comparison ¶
type Comparison int
const ( LessThan Comparison = -1 EqualTo Comparison = 0 GreaterThan Comparison = 1 )
func (Comparison) String ¶
func (i Comparison) String() string
Click to show internal directories.
Click to hide internal directories.