An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

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
Latest Release
v0.0.0-20220106223125-d7c6a541ef3a
about 4 years ago
Versions
1
Dependent Packages
1
Dependent Repos
6
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
Repository
Stars 2 on GitHub
Forks 2 on GitHub
Docker Dependents 2
Docker Downloads 2,064,102
Rankings on proxy.golang.org
Overall Top 7.2%
Dependent packages Top 5.8%
Dependent repos Top 2.1%
Docker downloads Top 0.6%