资 源 简 介
Allows two objects of the same user-defined type to be compared provided that the user-defined type has a method
func (so SomeType) Compare(objectSomeType) (result int) which returns 0 for equal,1 for greater than or -1 for less than. The test source file gives an example of usage.