Go 获取当前时间
Oct 21, 2022
4 min read
func
now
()
string
{
n
:=
time
.
Now
()
return
n
.
Format
(
"2006-01-02 15:04:05"
)
//go语言诞生的时间
}