+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
package stats
import (
return d.Set(string(data))
}
-// Value implements flag.Value
+// Set implements flag.Value
func (d *Duration) Set(s string) error {
sec, err := strconv.ParseFloat(s, 64)
if err == nil {