code: func GetOrDefaultInt(envVar string, defaultValue int) int {
  	v, err := strconv.Atoi(GetOrFile(envVar))
  	if err != nil {
  		return defaultValue
  	}
  
  	return v
  }
docs: // GetOrDefaultInt returns the given environment variable value as an integer.
  // Returns the default if the envvar cannot be coopered to an int, or is not found.