code: func Int(value string, def int) int {
  	if len(value) == 0 {
  		return def
  	}
  
  	i, err := strconv.Atoi(value)
  	if err != nil {
  		return def
  	}
  
  	return i
  }
docs: // Int returns the int value associated with the given value, or the value
  // "def", if the value is blank.
  //
  // To convert from a the string value attached to a given key,
  // `strconv.Atoi(val)` is called. If `Atoi` returned a non-nil error,
  // then the value "def" will be returned instead.
  //
  // Otherwise, if the value was converted `string -> int` successfully,
  // then it will be returned wholesale.