Versions in this module Expand all Collapse all v0 v0.0.3 Oct 16, 2019 Changes in this version + func ReadFileWithIoutil(fullName string, handleLine func(int, string)) error + func ReadLineWithBufio(fullName string, handleLine func(int, string)) error + func ReadLineWithFile(fullName string, handleLine func(int, string)) error + func ReadLineWithOs(fullName string, handleLine func(int, string)) error + func WriteFileBufio(fullName string, flag int, body []byte) error + func WriteFileWithIoutil(fullName string, body []byte) error + func WriteFileWithOS(fullName string, body []byte) error v0.0.2 Jul 20, 2019 Changes in this version + func CreateDirs(path string) error + func IsExist(path string) bool + type Fs interface + Chmod func(name string, mode os.FileMode) error + Chtimes func(name string, atime time.Time, mtime time.Time) error + Create func(name string) (*os.File, error) + Mkdir func(name string, perm os.FileMode) error + MkdirAll func(path string, perm os.FileMode) error + Name func() string + Open func(name string) (*os.File, error) + OpenFile func(name string, flag int, perm os.FileMode) (*os.File, error) + Remove func(name string) error + RemoveAll func(path string) error + Rename func(oldname, newname string) error + Stat func(name string) (os.FileInfo, error) + func NewOsFs() Fs + type OsFs struct + func (OsFs) Chmod(name string, mode os.FileMode) error + func (OsFs) Chtimes(name string, atime time.Time, mtime time.Time) error + func (OsFs) Create(name string) (*os.File, error) + func (OsFs) LstatIfPossible(name string) (os.FileInfo, bool, error) + func (OsFs) Mkdir(name string, perm os.FileMode) error + func (OsFs) MkdirAll(path string, perm os.FileMode) error + func (OsFs) Name() string + func (OsFs) Open(name string) (*os.File, error) + func (OsFs) OpenFile(name string, flag int, perm os.FileMode) (*os.File, error) + func (OsFs) Remove(name string) error + func (OsFs) RemoveAll(path string) error + func (OsFs) Rename(oldname, newname string) error + func (OsFs) Stat(name string) (os.FileInfo, error)