code: func GetIntOrDefault(key string, defVal int) int {
  	viperLock.RLock()
  	defer viperLock.RUnlock()
  
  	if val := viper.GetInt(key); val != 0 {
  		return val
  	}
  
  	return defVal
  }
docs: // GetIntOrDefault returns the int value from config if present otherwise default value