Documentation ¶
Index ¶
- func Create(filePath string) error
- func GetExt(filePath string) string
- func GetName(filePath string) string
- func GetNameWithoutExt(filePath string) string
- func IsDir(path string) bool
- func IsExsit(path string) bool
- func IsFile(path string) bool
- func ReadAll(filePath string) ([]byte, error)
- func SplitDirAndFileName(filePath string) (dir, file string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNameWithoutExt ¶
GetNameWithoutExt 获取不带扩展名的文件名
func SplitDirAndFileName ¶
SplitDirAndFileName 将目录与文件名分开
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.