摘要: golang标准库time time包提供时间显示和时间间隔的相关功能。 基本使用 打印当前时间,基本使用实例: func main() { now := time.Now() fmt.Printf("now=%v,now type=%T\n",now,now) //now=2022-05-03 1 阅读全文
posted @ 2022-05-03 12:28 wushaoyu 阅读(127) 评论(0) 推荐(0) 编辑