packagetime// import "github.com/docker/docker/api/types/time"import("strconv""time")// DurationToSecondsString converts the specified duration to the number// seconds it represents, formatted as a string.funcDurationToSecondsString(durationtime.Duration)string{returnstrconv.FormatFloat(duration.Seconds(),'f',0,64)}