Versions in this module Expand all Collapse all v1 v1.0.0 Oct 16, 2021 Changes in this version + func Application_BaseDirectory() string + func Application_FileName() string + func Application_FullPath() string + func Directory_CreateDirectory(path string) bool + func Directory_DeleteDirectory(path string) bool + func Directory_Exists(path string) bool + func Encrypt_Base64Decode(data string) string + func Encrypt_Base64Encode(data string) string + func Encrypt_FileMd5(filePath string) string + func Encrypt_Md5(data string) string + func Encrypt_NewId() string + func Encrypt_UrlDecode(data string) string + func Encrypt_UrlEncode(data string) string + func File_Copy(srcPath string, desPath string) bool + func File_Delete(path string) bool + func File_Exists(path string) bool + func File_ReadAllText(path string) string + func File_Rename(oldPath string, newPath string) bool + func File_WriteAllText(path string, data string) bool + func LogError(logContent string) + func LogErrorSkipStack(logContent string, skipStack int) + func LogInfo(logContent string) + func LogInfoSkipStack(logContent string, skipStack int) + func LogTag(logContent string) + func Net_HttpDo(method string, url string, data string, contentType string) (error, string) + func Net_HttpDownloadFile(url string, filePath string) (error, int64) + func Net_HttpGet(url string) (error, string) + func Net_HttpPostForm(url string, formData string) (error, string) + func Net_HttpPostJson(url string, jsonData string) (error, string) + func Os_FormatArgs(runArg string) []string + func Os_FormatDeviceSize(data uint64, flagGiga bool) string + func Os_IsWindows() bool + func Process_ExcuteCommand(timeout int, command string, args ...string) ([]byte, error) + func Process_GetNewStartProcAttr() syscall.SysProcAttr — linux/amd64, windows/amd64 + func Process_Kill(pid int) + func Process_KillByName(processName string) + func Process_KillForce(pid int) + func Process_Start(command string, args ...string) (error, int) + func Process_StartNew(command string, args ...string) error + func Text_GetString(data []byte, encoding encoding.Encoding) string + func Text_StructFromJson(data interface{}, dataJson string) error + func Text_StructToJson(data interface{}) string + func Time_GetNow() string + func Time_GetTime(t time.Time) string + func Time_StrToTime(timeStr string) time.Time + func Time_Timestamp() int64 + func Time_UtcTimestamp() int64 + type Log struct + func CreateLog() *Log + func (this *Log) CheckLog()