Documentation
¶
Index ¶
- func Atoi16(str string) (int16, error)
- func Atoi64(str string) (int64, error)
- func AtoiUint(str string) (uint, error)
- func CheckErr(err error)
- func CopyFile(src, dest string) error
- func CriticalDirExist(dirName string)
- func CriticalFileExist(fileName string)
- func DirExists(dirName string) bool
- func FileExists(fileName string) bool
- func I16toa(i int16) string
- func I64toa(i int64) string
- func IsNumber(name string) bool
- func Now() string
- func SplitFileExtension(file string) (base, ext string)
- func StringToSlice(input string) []string
- func Today() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CriticalDirExist ¶
func CriticalDirExist(dirName string)
Check whether a critical directory exists.
func CriticalFileExist ¶
func CriticalFileExist(fileName string)
Check whether a critical file exists.
func DirExists ¶
Check whether a directory exists. Returns true when the directory exists, otherwise false.
func FileExists ¶
Check whether a file exists. Returns true when the file exists, otherwise false.
func SplitFileExtension ¶
func StringToSlice ¶ added in v0.1.3
Convert a string to a slice of strings
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.