package baseutils import ( "fmt" "time" ) // PrintLog 打印日志 func PrintLog(logStr string) { currentTime := time.Now().Format("2006-01-02 15:04:05") fmt.Println(currentTime + ": " + logStr) }