Documentation ¶
Index ¶
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Application_BaseDirectory ¶
func Application_BaseDirectory() string
func Application_FileName ¶
func Application_FileName() string
func Application_FullPath ¶
func Application_FullPath() string
func Directory_Exists ¶
func Encrypt_Base64Decode ¶
func Encrypt_Base64Encode ¶
func Encrypt_FileMd5 ¶
func Encrypt_Md5 ¶
func Encrypt_NewId ¶
func Encrypt_NewId() string
func Encrypt_UrlDecode ¶
func Encrypt_UrlEncode ¶
func File_Delete ¶
func File_Exists ¶
func File_ReadAllText ¶
func File_Rename ¶
func File_WriteAllText ¶
func LogErrorSkipStack ¶
func LogInfoSkipStack ¶
func Net_HttpDo ¶
func Net_HttpGet ¶
func Os_FormatArgs ¶
func Os_FormatDeviceSize ¶
func Os_IsWindows ¶
func Os_IsWindows() bool
func Process_ExcuteCommand ¶
func Process_GetNewStartProcAttr ¶
func Process_GetNewStartProcAttr() syscall.SysProcAttr
func Process_Kill ¶
func Process_Kill(pid int)
func Process_KillByName ¶
func Process_KillByName(processName string)
func Process_KillForce ¶
func Process_KillForce(pid int)
func Process_StartNew ¶
func Text_StructFromJson ¶
func Text_StructToJson ¶
func Text_StructToJson(data interface{}) string
func Time_GetNow ¶
func Time_GetNow() string
func Time_GetTime ¶
func Time_StrToTime ¶
func Time_Timestamp ¶
func Time_Timestamp() int64
func Time_UtcTimestamp ¶
func Time_UtcTimestamp() int64
Types ¶
Click to show internal directories.
Click to hide internal directories.