Browse Source

2022-10-20

ldf/0428
frank 2 years ago
parent
commit
10945aa3a4
  1. 2
      go.mod
  2. 6
      print.go

2
go.mod

@ -1,4 +1,4 @@
module git.drinkme.beer/frank/log
module git.drinkme.beer/frank/log/v2
go 1.14 go 1.14

6
print.go

@ -5,3 +5,9 @@ import "time"
func Print() { func Print() {
Infof(time.Now().UTC().Format(time.RFC3339)) Infof(time.Now().UTC().Format(time.RFC3339))
} }
func PrintV2() {
Infof("=====> %s", time.Now().UTC().Format(time.RFC3339))
}
Loading…
Cancel
Save