This commit is contained in:
Michael
2026-04-29 20:11:57 +02:00
commit a14103ad8e
167 changed files with 7060 additions and 0 deletions

18
app/internal/infr/env/init.go vendored Normal file
View File

@ -0,0 +1,18 @@
// Package env provides environment variables
package env
import (
"log"
"github.com/joho/godotenv"
)
// SetupEnvFile is a function to setup .env file
func SetupEnvFile() {
envFile := ".env"
var err error
if (godotenv.Load(envFile)); err != nil {
log.Printf("No %s file found, reading from environment", envFile)
}
}