code: func ParseVersion(s string) (Version, error) {
  	var vv Version
  	for _, suffix := range versionSuffixes {
  		if strings.HasSuffix(s, suffix) {
  			vv.Suffix = suffix
  			s = strings.TrimSuffix(s, suffix)
  		}
  	}
  
  	v, p := parseVersion(s)
  
  	vv.Number = v
  	vv.PatchLevel = p
  
  	return vv, nil
  }
docs: // ParseVersion parses a version string.