Files
qrcode/app/internal/infr/env/init.go
Michael a14103ad8e init
2026-04-29 20:11:57 +02:00

19 lines
329 B
Go

// 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)
}
}