
carbon 是一个轻量级、语义化、对开发者友好的 golang 时间处理库,支持链式调用。
目前已被 awesome-go 收录,如果您觉得不错,请给个 star 吧
github.com/golang-module/carbon
gitee.com/golang-module/carbon
// 使用 github 库 go get -u github.com/golang-module/carbon/v2 import "github.com/golang-module/carbon/v2" // 使用 gitee 库 go get -u gitee.com/golang-module/carbon/v2 import "gitee.com/golang-module/carbon/v2" // 使用 github 库 go get -u github.com/golang-module/carbon import "github.com/golang-module/carbon" // 使用 gitee 库 go get -u gitee.com/golang-module/carbon import "gitee.com/golang-module/carbon" go 的最低版本要求升级到1.17阿拉伯语的翻译支持公历转农历错误的 bug波斯语的翻译错误的 bugParseByLayout 和 getLocationByTimezone 方法的时区参数为空时的处理json 字符串里的值有空或者 nul 时进行 json.UnmarshalJSON反序列化的处理Tag结构体和相关方法