mirror of
https://github.com/40t/go-sniffer.git
synced 2025-08-08 18:18:55 +08:00
date format
This commit is contained in:
@@ -4,7 +4,7 @@ import "time"
|
||||
|
||||
func GetNowStr(isClient bool) string {
|
||||
var msg string
|
||||
msg += time.Now().Format("2006-01-02 15:04:05")
|
||||
msg += time.Now().Format("2006-01-02 15:04:05.000")
|
||||
if isClient {
|
||||
msg += "| cli -> ser |"
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user