golang time函数
摘要:import( "fmt" "time" ) func main(){ now := time.Now() //获取当前时间 now.Format("2006-01-02 15:04:05") //时间格式化 里面数字是固定的 } 时间常量 Nanosecond Duration //纳秒 Micr
阅读全文
posted @ 2020-04-01 15:44
posted @ 2020-04-01 15:44
posted @ 2020-03-31 22:14