Documentation ¶
Index ¶
- func CreateDir(path string, all bool) error
- func DirExists(path string) bool
- func DirFormat() string
- func GetAppRootDir() string
- func GetFileBaseName(filepath string) string
- func GetIntRandomNumber(min int64, max int64) int64
- func GetNowDateTime() string
- func GetRandomCodeString(len int) string
- func GetTimestampDateTimeString(timeStamp int64) string
- func InSliceString(s string, slices []string) bool
- func Md5String(str string) string
- func PlayAudioSec(audio string, playSec float64) (err error)
- func RepeatStr(str string, s string, length int, before bool) string
- func SetRandomSeed()
- func VaildFile(file string) bool
- func WinDir(dir string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNowDateTime ¶
func GetNowDateTime() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.