Carbon is a simple, semantic and developer-friendly golang package for datetime.
Carbon has been included by awesome-go , if you think it is helpful, please give me a star.
github.com/golang-module/carbon
Installation
Go version >= 1.16
go get -u github.com/golang-module/carbon/v2
import (
"github.com/golang-module/carbon/v2"
)
Go version < 1.16
go get -u github.com/golang-module/carbon
import (
"github.com/golang-module/carbon"
)