Go-carbon version 2.1.6 was released, better dates & times for golang

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"
)           
Change log
  • Add Ukrainian language support
  • Add SetDateXXX(), SetTimeXXX() series methods
  • Add DateXXX, TimeXXX series structures and implement Stringer interface
  • Add CreateFromDateXXX(), CreateFromTimeXXX() series methods
  • Remove TimestampWithXXX() series methods
  • Remove TimestampWithXXX series structures
  • Optimize and streamline code
  • Complete documentation
3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.