Redundant commit: only to switch branches. Can be removed.

This commit is contained in:
Jesse Malotaux 2025-04-04 11:52:48 +02:00
commit 59dd711ab3
102 changed files with 34954 additions and 0 deletions

View file

@ -0,0 +1,16 @@
package helper
import (
"log"
"os"
"github.com/joho/godotenv"
)
func EnvGet(key string) string {
err := godotenv.Load("../.env")
if err != nil {
log.Fatal("Error loading .env file")
}
return os.Getenv("VITE_" + key)
}