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

Top 5.3% on proxy.golang.org
Top 3.4% dependent packages on proxy.golang.org
Top 4.8% dependent repos on proxy.golang.org
Top 6.9% forks on proxy.golang.org

proxy.golang.org : github.com/jszwedko/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. In addition to the expressions supported by Elasticsearch, this package also supports business days, annual quarters, and fiscal years/quarters.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/jszwedko/go-datemath
License: ISC
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/jszwedko
Dependent packages: 3
Dependent repositories: 1
Stars: 42 on GitHub
Forks: 8 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 12 days ago

    Loading...
    Readme
    Loading...