Documentation
¶
Index ¶
- func CreateDateDir(path string, prex string) string
- func CreateDir(folderPath string)
- func CreateHourLogFile(path string, prex string) string
- func FileNameByDate(dir string) string
- func GetCurrentDirectory() string
- func GetDateDir(path string) string
- func LeftAddPathPos(path string) string
- func ReadDirAll(path string, curHier int) ([]string, error)
- func RightAddPathPos(path string) string
- type FileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDateDir ¶
CreateDateDir 根据当前日期,不存在则创建目录
func CreateHourLogFile ¶
CreateHourLogFile 根据当前小时创建目录和日志文件
func ReadDirAll ¶
ReadDirAll 读取目录 example ReadDirAll("/Users/why/Desktop/go/test", 0)
Types ¶
Click to show internal directories.
Click to hide internal directories.