go-str2duration

Duration converter

Converts time durations from string format to Go's time.Duration type with support for weeks and days.

Convert string to duration in golang

GitHub

101 stars
3 watching
7 forks
Language: Go
last commit: about 1 year ago
Linked from 2 awesome lists

convertdurationgolangparserstring

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
hako/durafmt A Go library for parsing and formatting time durations into human-readable strings 495
awoodbeck/strftime Formatter for converting Go time.Time instances to human-readable strings following the C99 strftime format 12
cgxxv/xj2go A tool to convert data from XML or JSON formats into Go structs. 34
leekchan/timeutil Extensions to Go's time package for working with durations and formatting dates 192
ijt/go-anytime A Go library for parsing natural and standardized dates/times and ranges without knowing the format in advance. 23
stoewer/go-week Provides a simple data type representing week dates as defined by ISO 8601 9
goschtalt/approx A package that extends the standard Go time library to support parsing and manipulation of approximate time durations in days, weeks, and years. 12
vtopc/epoch Converts Unix timestamps to native Go time types and vice versa for JSON serialization. 14
araddon/dateparse A utility library to parse date strings without prior knowledge of their format. 2,043
guilhermecaruso/kair A formatting library for dates and times in Go. 24
osteele/tuesday Provides a Ruby-compatible strftime function for Go with additional flags and conversions. 12
go-ffmt/ffmt Golang beautifies data display by providing formatting options for humans 305
deatil/go-datebin A date and time parsing library for Go. 4
eun/go-convert A utility package for converting data between different types and structures in Go programming language 22
go-playground/form A Go package for encoding and decoding URL parameters into structured data types 773