Documentation ¶
Overview ¶
* @Author: your name * @Date: 2021-10-22 10:09:08 * @LastEditTime: 2021-10-22 13:18:40 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \yecron\pkg\utils\utils.go
Index ¶
- func AddStr(sep string, args ...interface{}) string
- func FormatDatetimeStr(t time.Time) string
- func FormatNowStr() string
- func GetUUID() string
- func Sha1Code(str string) string
- func Stru2Json(j interface{}) string
- func Time2LongTime(t time.Time) time.Time
- func WriteLogErr(str string)
- func WriteLogInfo(str string)
- func WriteLogsInfo(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDatetimeStr ¶
func FormatNowStr ¶
func FormatNowStr() string
func WriteLogErr ¶
func WriteLogErr(str string)
func WriteLogInfo ¶
func WriteLogInfo(str string)
func WriteLogsInfo ¶
func WriteLogsInfo(args ...interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.