go时间转换
项目中时间的用法:
start := time.Unix(v.StartCreated, 0)
startYear, startMonth, _ := start.Date()
end := time.Unix(v.EndCreated, 0)
endYear, endMonth, _ := end.Date()
location := time.Now().Location()
result := customer.DistributeResponseData{}
for startYear
原创
2021-04-02 18:05:26 ·
339 阅读 ·
0 评论