code: func (d Duration) Compare(o Duration) int {
  	if d.Duration > o.Duration {
  		return 1
  	} else if d.Duration == o.Duration {
  		return 0
  	} else {
  		return -1
  	}
  }
docs: // Compare returns an integer comparing the Duration instant t to o.
  // If d is after o, return 1, equal o, return 0, before o, return -1.