implement exist

This commit is contained in:
Jonas Leder 2025-03-18 19:39:58 +01:00
commit 287a79f3e2

View file

@ -35,3 +35,7 @@ func GetOrFatal(configName string) string {
return "" return ""
} }
func Exist(configName string) bool {
return os.Getenv(configName) != ""
}