code: func (v Version) Cmp(another Version) int {
  	if v.Ver > another.Ver {
  		return 1
  	} else if v.Ver < another.Ver {
  		return -1
  	}
  	return 0
  }
docs: // Cmp returns the comparison result of two versions.
  // The result will be 0 if a==b, -1 if a < b, and +1 if a > b.