Ecosyste.ms: Packages

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

Top 3.0% on proxy.golang.org
Top 1.1% dependent packages on proxy.golang.org
Top 0.5% dependent repos on proxy.golang.org
Top 6.9% forks on proxy.golang.org
Top 0.2% docker downloads on proxy.golang.org

proxy.golang.org : github.com/timberio/go-datemath

Package datemath provides an expression language for relative dates based on Elasticsearch's date math. This package is useful for letting end-users describe dates in a simple format similar to Grafana and Kibana and for persisting them as relative dates. The expression starts with an anchor date, which can either be "now", or an ISO8601 date string ending with ||. This anchor date can optionally be followed by one or more date math expressions, for example: The supported time units are: This package aims to be a superset of Elasticsearch's expressions. That is, any datemath expression that is valid for Elasticsearch should evaluate in the same way here. Currently the package does not support expressions outside of those also considered valid by Elasticsearch, but this may change in the future to include additional functionality.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/timberio/go-datemath
License: ISC
Latest release: over 4 years ago
First release: over 4 years ago
Namespace: github.com/timberio
Dependent packages: 22
Dependent repositories: 138
Stars: 40 on GitHub
Forks: 8 on GitHub
Docker dependents: 134
Docker downloads: 396,057,355
See more repository details: repos.ecosyste.ms
Last synced: about 10 hours ago

    Loading...
    Readme
    Loading...