package
0.0.0-20231208061952-f10d33120ced
Repository: https://github.com/liguoqinjim/go-labs.git
Documentation: pkg.go.dev
# README
给定表示时间的字符串如("2017-02-08"),转换到time
只要指定parse中用的layout参数就可以解析
NOTICE
ParseInLocation
,相较于Parse
多了时区的选择。为了保险,一般就用ParseInLocation好了
参考资料
https://studygolang.com/articles/3753