package utils import "os" func GetEnv(key, def string) string { val := os.Getenv(key) if val == "" { return def } return val }