Store the duration as a time.Duration.