From 1ffcaaef8ece857fe866e87aadb1b5b052fb7622 Mon Sep 17 00:00:00 2001 From: zhoupengwei Date: Wed, 4 May 2022 21:50:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E5=9C=A8main.go=E4=B8=AD=E5=8A=A0?= =?UTF-8?q?=E4=BA=86=E5=8F=8C//=EF=BC=8C=E6=B5=8B=E8=AF=95=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E8=83=BD=E5=A4=9F=E6=8F=90=E4=BA=A4=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/example/main.go b/example/main.go index 7440692..da15499 100644 --- a/example/main.go +++ b/example/main.go @@ -6,6 +6,7 @@ import ( "time" ) +// func main() { date, _ := time.Parse("2006-01-02 15:04", time.Now().Format("2006-01-02")+" 14:00") fmt.Println(date, date.Unix())