code: func GetInt(key string, defaultValue int) int {
  	result, err := factory.GetValue(key).ToInt()
  	if err != nil {
  		return defaultValue
  	}
  	return result
  }
docs: // GetInt gives the key value in the form of GetInt