Documentation
¶
Index ¶
- func BytesToInt64(buf []byte) int64
- func CopyFile(dst, src string) error
- func DirFiles(path string, count uint32) ([]string, error)
- func GetDirFreeSpace(dir string) (uint64, error)
- func GetFileType(fSrc string) (string, error)
- func GetSysMemAvailable() (uint64, error)
- func Int64ToBytes(i int64) []byte
- func InterfaceIsNIL(i interface{}) bool
- func PasswdWithMask(hint string, defaultVal string, mask string) (string, error)
- func RecoverError(err interface{}) string
- func RenameDir(oldDir, newDir string) error
- func Ternary(a, b int64) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToInt64 ¶
func GetDirFreeSpace ¶
func GetFileType ¶
func GetSysMemAvailable ¶
func Int64ToBytes ¶
func InterfaceIsNIL ¶
func InterfaceIsNIL(i interface{}) bool
InterfaceIsNIL returns the comparison between i and nil
func PasswdWithMask ¶
func RecoverError ¶
func RecoverError(err interface{}) string
RecoverError is used to record the stack information of panic
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.