Package asof "as of" implements utils for building "as of"/time travel queries
IsValid returns true if the query looks valid. The only rule for now is not to conain any dots (to prevent issue with editor like vim who create metadata based on the filename).
ParseAsOf returns the parsed query (as a unix nano timestamp) or an error if it could not be parsed. Fow now it supports:
- negative duration (as parsed by `time.ParseDuration`, e.g. -10h, -30s - few date formats from YYYY-MM-DDTHH:MM:SS to YYYY - and unix timestamps (second precision)