摘要: 1. time包 2. 获取当前时间 now := time.Now()now.Year()now.Month()now.Day()now.Hour()now.Minute()now.Second() 3. 格式化 now := time.Now()now.Format("2006-01-02 15 阅读全文
posted @ 2020-12-21 09:26 10132714 阅读(67) 评论(0) 推荐(0) 编辑