1
0

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

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

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)