Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var W = library{ Check: Check.New(), }
Functions ¶
This section is empty.
Types ¶
type Path ¶
type Path interface { CreatDirectory(directoryName string) bool //创建目录 CurrentDirectory() string //返回当前目录 GetCurrentDirectory() (ok bool) //获取当前目录 GetCurrentRunningPath() (ok bool) //获取当前运行路径 CurrentRunningPath() string //返回当前运行路径 GetFilepath(fileName string) (ok bool) //获取文件路径 Filepath() string //返回文件路径 GetFileDirectory(Filepath string) string //返回文件目录 GetFilename(Filepath string) string //返回文件名 GetExtensionPath(Filepath string) string //返回文件扩展名 GetAbsolutePath(Filepath string) (ok bool) //获取绝对路径 AbsolutePath() string //返回绝对路径 GetUNCPath(fileName string) (ok bool) //获取UNC路径 UNCPath() string //返回UNC路径 }
Click to show internal directories.
Click to hide internal directories.