github.com/raintank/dur
Package dur is a package to convert string duration and time specifications to numbers of seconds and to unix timestamps. It aims to support the full specification as outlined in http://graphite.readthedocs.io/en/latest/render_api.html#from-until which incorporates the formats defined by `at`. this package works with the following shorthands: Duration : unsigned (positive) number of seconds NDuration: like Duration, but non-zero.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
about 4 years ago
v0.0.0-20220106223125-d7c6a541ef3a
about 4 years ago
Versions
1
1
Dependent Packages
1
1
Dependent Repos
6
6
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/raintank/dur
spec |
| License | Apache-2.0 |
| Namespace | github.com/raintank |
| First Release | about 4 years ago |
| Last Synced | 25 days ago |
Rankings on proxy.golang.org
Overall
Top 7.2%
Dependent packages
Top 5.8%
Dependent repos
Top 2.1%
Docker downloads
Top 0.6%