摘要: time 模块 获取当前的时间和月份 package main import ( "fmt" "time" ) func main() { t := time.Now() // 获取当前时间 fmt.Println(t) fmt.Println(t.Date()) // 获取日期 fmt.Print 阅读全文
posted @ 2024-03-26 11:59 邹邹很busy。 阅读(11) 评论(0) 推荐(0) 编辑