「🏗️」 wip: Need to fix fileEnv func to rm newline at the env

This commit is contained in:
keyzox committed 2025-03-05 20:17:37 +01:00
1 parent 834468e1bd
commit 055ccdc1df
6 files changed
+22 -15

No files matched your search

+4
View File
@@ -7,6 +7,10 @@ import (
"git.keyzox.me/42_adjoly/inception/internal/log"
)
func removeNl(in string) string {
}
// Check if the "Value" exist in the env if not check if a "Value_FILE" exist and if still not just return default value
func FileEnv(Value, Default string) string {
val, is := os.LookupEnv(Value)