From bc410a429ea1ab19e4deddbee4f180cf543fb276 Mon Sep 17 00:00:00 2001 From: node4 Date: Thu, 20 Oct 2022 17:33:43 +0800 Subject: [PATCH] initial --- cmd/main.go | 7 +++++++ go.mod | 3 +++ print.go | 7 +++++++ 3 files changed, 17 insertions(+) create mode 100644 cmd/main.go create mode 100644 go.mod create mode 100644 print.go diff --git a/cmd/main.go b/cmd/main.go new file mode 100644 index 0000000..8edb7d6 --- /dev/null +++ b/cmd/main.go @@ -0,0 +1,7 @@ +package main + +import "git.drinkme.beer/hetianxia/abc" + +func main() { + abc.Print() +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..f27de59 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.drinkme.beer/hetianxia/abc + +go 1.19 diff --git a/print.go b/print.go new file mode 100644 index 0000000..871320f --- /dev/null +++ b/print.go @@ -0,0 +1,7 @@ +package abc + +import "time" + +func Print() { + println(time.Now().UTC().Format(time.RFC3339)) +}