code: func Parse(val string) IntOrString {
  	i, err := strconv.Atoi(val)
  	if err != nil {
  		return FromString(val)
  	}
  	return FromInt(i)
  }
docs: // Parse the given string and try to convert it to an integer before
  // setting it as a string value.