code: func (version Version) Major() uint {
  	majorPart := strings.Split(string(version), ".")[0]
  	major, _ := strconv.ParseUint(majorPart, 10, 0)
  	return uint(major)
  }
docs: // Major returns the major (primary) component of a version.