Documentation ¶
Index ¶
- func Bytes2String(b []byte) string
- func ContextMessage(msg string, stack string, isAtAll bool, logType ...interface{})
- func NowTime(format ...string) string
- func RemoveDuplicateWithInt(arr []int) []int
- func RemoveDuplicateWithString(arr []string) []string
- func RemoveWithInt(arr []int, in int) []int
- func RemoveWithString(arr []string, in string) []string
- func SimpleMessage(msg string, isAtAll bool, logType ...interface{})
- func String2Bytes(s string) []byte
- func TodayRemainSecond() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes2String ¶
Bytes2String ... @author Cloud|2021-12-12 18:24:20 @param b []byte ... @return string ...
func ContextMessage ¶
func NowTime ¶
NowTime 当前时间 @author Cloud|2021-12-13 09:40:41 @param format ...string ... @return string ...
func RemoveDuplicateWithInt ¶
RemoveDuplicateWithInt 去除重复值 @author Cloud|2021-12-12 18:20:52 @param arr []int ... @return []int ...
func RemoveDuplicateWithString ¶
RemoveDuplicateWithString 去除重复值 @author Cloud|2021-12-13 09:33:05 @param arr []string ... @return []string ...
func RemoveWithInt ¶
RemoveWithInt 删除数组中的指定值 @author Cloud|2021-12-14 12:15:15 @param arr []int ... @param in int ... @return []int ...
func RemoveWithString ¶
RemoveWithString 删除数组中的指定值 @author Cloud|2021-12-12 18:20:21 @param arr []string ... @param in string ... @return []string ...
func SimpleMessage ¶
func String2Bytes ¶
String2Bytes ... @author Cloud|2021-12-12 18:24:23 @param s string ... @return []byte ...
func TodayRemainSecond ¶
TodayRemainSecond 获取当天剩余的秒数 @author Cloud|2021-12-12 12:49:41 @return time.Duration ...
Types ¶
This section is empty.