Closed
Description
Proposal: Duration literals for Go values and associated JSON, YAML representations, in order to reduce the likelihood of mistakes in application configurations.
No more forgetting, wondering about days vs nanoseconds vs seconds vs hours months vs business quarters vs milliseconds. No more gaps and misleading statements in documentation.
No more conversion errors. Just human readable durations, direct to well-defined machine values.
ISO 8601 format for duration literals would be a good place to start.