Browse Source

v2

master v2.0.1
node4 2 years ago
parent
commit
48e44de13f
  1. 1
      cmd/main.go
  2. 5
      print.go

1
cmd/main.go

@ -4,4 +4,5 @@ import "git.drinkme.beer/hetianxia/abc"
func main() { func main() {
abc.Print() abc.Print()
abc.PrintV2()
} }

5
print.go

@ -5,3 +5,8 @@ import "time"
func Print() { func Print() {
println(time.Now().UTC().Format(time.RFC3339)) println(time.Now().UTC().Format(time.RFC3339))
} }
func PrintV2() {
println("this is v2: "+time.Now().UTC().Format(time.RFC3339))
}
Loading…
Cancel
Save