Documentation ¶
Index ¶
- func AppendByteFile(filePath string, data []byte) error
- func AppendStringFile(filePath string, data string) error
- func CopyFile(srcFileName string, dstFileName string) (err error)
- func CreateFilePath(path string) error
- func CutPath(path string, count int) (string, error)
- func CutPathLast(path string, count int) (string, error)
- func FileInfo(f string) os.FileInfo
- func FixPathSeparator(path string) string
- func GetAllPath(path string) ([]string, error)
- func GetCurrentDirectory() (string, error)
- func GetFilePath(filepath string, fileName string) ([]string, error)
- func IsExist(f string) bool
- func IsFile(f string) bool
- func ProjectPath() (string, error)
- func ReadAll(filePth string) ([]byte, error)
- func ReadAt(filePth string, off int64, size int64) ([]byte, error)
- func WriteByteFile(filePath string, data []byte) error
- func WriteStringFile(filePath string, data string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendByteFile ¶
func AppendStringFile ¶
func CreateFilePath ¶
func FixPathSeparator ¶
func GetAllPath ¶
func GetCurrentDirectory ¶
func ProjectPath ¶
func WriteByteFile ¶
func WriteStringFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.