func GetStringEnvVar(name, defVal string) string {
	val := os.Getenv(name)
	if val == "" {
		return defVal
	}
	return val
}
GetStringEnvVar returns the default value if the variable is empty, else the value
package utils
import (
	"os"
	"strconv"
	"strings"
)
func GetIntEnvVar(name string, defVal int) int {
	val := os.Getenv(name)
	if val == "" {
		return defVal
	}
	iVal, err := strconv.Atoi(val)
	if err != nil {
		return defVal
	}
	return iVal
}