From 10945aa3a4575d0f908a34fd148950c28c8f7f8a Mon Sep 17 00:00:00 2001 From: frank Date: Thu, 20 Oct 2022 16:03:03 +0800 Subject: [PATCH] 2022-10-20 --- go.mod | 2 +- print.go | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 5245219..c7db001 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.drinkme.beer/frank/log +module git.drinkme.beer/frank/log/v2 go 1.14 diff --git a/print.go b/print.go index f067211..9f911cd 100644 --- a/print.go +++ b/print.go @@ -5,3 +5,9 @@ import "time" func Print() { Infof(time.Now().UTC().Format(time.RFC3339)) } + + +func PrintV2() { + Infof("=====> %s", time.Now().UTC().Format(time.RFC3339)) +} +