func Round(d, r time.Duration) time.Duration {
	if r <= 0 {
		return d
	}
	neg := d < 0
	if neg {
		d = -d
	}
	if m := d % r; m+m < r {
		d = d - m
	} else {
		d = d + r - m
	}
	if neg {
		return -d
	}
	return d
}
// Round out a duration for printing
Round out a duration for printing
// Round out a duration for printing
func Round(d, r time.Duration) time.Duration {
	if r <= 0 {
		return d
	}
	neg := d < 0
	if neg {
		d = -d
	}
	if m := d % r; m+m < r {
		d = d - m
	} else {
		d = d + r - m
	}
	if neg {
		return -d
	}
	return d
}
func Round ( d , r time . Duration ) time . Duration { if r <= 0 { return d } neg := d < 0 if neg { d = - d } if m := d % r ; m + m < r { d = d - m } else { d = d + r - m } if neg { return - d } return d }
Round out a duration for printing
Round out a duration for printing