只在main.go中加了双//,测试是否能够提交成功

This commit is contained in:
zhoupengwei 2022-05-04 21:50:52 +08:00
parent d6ef790010
commit 1ffcaaef8e

View File

@ -6,6 +6,7 @@ import (
"time" "time"
) )
//
func main() { func main() {
date, _ := time.Parse("2006-01-02 15:04", time.Now().Format("2006-01-02")+" 14:00") date, _ := time.Parse("2006-01-02 15:04", time.Now().Format("2006-01-02")+" 14:00")
fmt.Println(date, date.Unix()) fmt.Println(date, date.Unix())