feature: add support for time.Duration