Golang package to operate time as timestamp
Go to file
Lunny Xiao a3a6c6337d
All checks were successful
continuous-integration/drone/push Build is passing
fix README
2019-06-26 16:36:47 +08:00
.drone.yml update README and drone 2019-06-26 16:03:39 +08:00
go.mod add go module support 2019-04-24 10:28:47 +08:00
go.sum add go module support 2019-04-24 10:28:47 +08:00
LICENSE init project 2018-12-18 10:47:12 +08:00
README.md fix README 2019-06-26 16:36:47 +08:00
timestamp_nano.go fix lint 2019-06-26 16:07:51 +08:00
timestamp_test.go add timestamp nano 2018-12-18 11:04:17 +08:00
timestamp.go fix lint 2019-06-26 16:07:51 +08:00

Golang package to operate time as timestamp

Build Status

Installation

go get gitea.com/lunny/timestamp

Usage

now := timestamp.TimeStampNow()
fmt.Println("Current is", now.Format("2006-01-02 15:04:05"))