Registry / utility / nleeper-goment

nleeper-goment

JSON →
library1.4.4gogounverified

goment is a Go port of Moment.js for parsing, manipulating, and formatting dates.

go get github.com/nleeper/goment
INSTALL
IMPORT
SIG · NLEEPER-GOMENT
N
nleeper-goment
utilitygov1.4.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

goment
github.com/nleeper/goment

Create a goment object and format a date.

package main import ( "fmt" "github.com/nleeper/goment" ) func main() { g, _ := goment.New("2023-01-01") fmt.Println(g.Format("YYYY-MM-DD")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
nleeper-goment — go get nleeper-goment · libregistry