carbon
carbon is a lightweight, semantic, developer-friendly golang time processing library that supports chain calls.
Currentlyawesome-goIncluded, if you think it's good, please give it a star
/golang-module/carbon
/golang-module/carbon
Install and use
Golang version is greater than or equal to 1.16
// Use the github librarygo get -u /golang-module/carbon/v2 import "/golang-module/carbon/v2" // Use gitee librarygo get -u /golang-module/carbon/v2 import "/golang-module/carbon/v2"
Golang version is less than 1.16
// Use the github librarygo get -u /golang-module/carbon import "/golang-module/carbon" // Use gitee librarygo get -u /golang-module/carbon import "/golang-module/carbon"
Update log
- Fixed
lang/
andlang/
File translation error - Fixed
IsZero
Method bug - New
IsDST
Method, determine whether it is daylight saving time - New
Closest
Method to get the Carbon object closest to the specified Carbon object - New
Farthest
Method to obtain the Carbon object farthest from the specified Carbon object - Will
Renamed to
,
modifier_test.go
Renamed toboundary_test.go
The above is the detailed content of the Golang time processing library go-carbon v2.2.13 release details. For more information about go carbon time processing library, please pay attention to my other related articles!