From 4f23d1dcbce6d28983f8505c79a13df5e1c4617f Mon Sep 17 00:00:00 2001 From: frank Date: Thu, 20 Oct 2022 15:45:45 +0800 Subject: [PATCH] 2022-10-20 --- .gitignore | 1 + print.go | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 print.go diff --git a/.gitignore b/.gitignore index f4d432a..b66697d 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ # Dependency directories (remove the comment below to include it) # vendor/ +.idea diff --git a/print.go b/print.go new file mode 100644 index 0000000..f067211 --- /dev/null +++ b/print.go @@ -0,0 +1,7 @@ +package log + +import "time" + +func Print() { + Infof(time.Now().UTC().Format(time.RFC3339)) +} -- 2.18.4