y/y.go
func FixedDuration(d time.Duration) string {
	str := fmt.Sprintf("%02ds", int(d.Seconds())%60)
	if d >= time.Minute {
		str = fmt.Sprintf("%02dm", int(d.Minutes())%60) + str
	}
	if d >= time.Hour {
		str = fmt.Sprintf("%02dh", int(d.Hours())) + str
	}
	return str
}
func FixedDuration(d time.Duration) string {
	str := fmt.Sprintf("%02ds", int(d.Seconds())%60)
	if d >= time.Minute {
		str = fmt.Sprintf("%02dm", int(d.Minutes())%60) + str
	}
	if d >= time.Hour {
		str = fmt.Sprintf("%02dh", int(d.Hours())) + str
	}
	return str
}
func FixedDuration ( d time . Duration ) string { str := fmt . Sprintf ( " " , int ( d . Seconds ( ) ) % 60 ) if d >= time . Minute { str = fmt . Sprintf ( " " , int ( d . Minutes ( ) ) % 60 ) + str } if d >= time . Hour { str = fmt . Sprintf ( " " , int ( d . Hours ( ) ) ) + str } return str }
// FixedDuration returns a string representation of the given duration with the
// hours, minutes, and seconds.
FixedDuration returns a string representation of the given duration with the hours minutes and seconds .