Skip to content
A Golang port for Carbon package in PHP. Inspired from https://carbon.nesbot.com/docs/.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
carbon.go
go.mod

README.md

Golang Carbon Package.

Installation:

$ go get -u github.com/BottleneckStudio/carbon

Usage:

carbon := carbon.New(time.Now())

timestamp := carbon.CreateFromTimestamp(time.Now().Unix(), "Asia/Singapore")

For more information, check:

Carbon Package

You can’t perform that action at this time.