forked from golang/hotime
只在main.go中加了双//,测试是否能够提交成功
This commit is contained in:
parent
d6ef790010
commit
1ffcaaef8e
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user