code: func Round(value time.Duration, resolution time.Duration) time.Duration {
  	if value < 0 {
  		value -= resolution / 2
  	} else {
  		value += resolution / 2
  	}
  	return value / resolution * resolution
  }
docs: // Round rounds a time.Duration at round.