package main import "os" func getEnv(key, defaultValue string) string { value := os.Getenv(key) if value == "" { return defaultValue } return value }