GO Time
GO Time 操作将时间字符串转成 time.Time 类型# "2021-07-26 20:30:00"t, err := time.ParseInLocation("2006-01-02 15:04:05", stringTime, time.Local)将 time.Time 类型转成字符串 “2021-07-26 20:30:00”time.now().Format("2006-01-02 15:04:05")...
原创
2021-07-26 10:32:23 ·
101 阅读 ·
0 评论