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)) +}