Documentation ¶
Index ¶
- type FileMock
- func (fm *FileMock) Close() error
- func (fm *FileMock) Name() string
- func (fm *FileMock) Read(p []byte) (n int, err error)
- func (fm *FileMock) ReadAt(b []byte, off int64) (n int, err error)
- func (fm *FileMock) Readdir(count int) ([]os.FileInfo, error)
- func (fm *FileMock) Readdirnames(n int) ([]string, error)
- func (fm *FileMock) Seek(offset int64, whence int) (ret int64, err error)
- func (fm *FileMock) Stat() (os.FileInfo, error)
- func (fm *FileMock) Sync() error
- func (fm *FileMock) Truncate(size int64) error
- func (fm *FileMock) Write(b []byte) (n int, err error)
- func (fm *FileMock) WriteAt(b []byte, off int64) (n int, err error)
- func (fm *FileMock) WriteString(s string) (ret int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.