more refactor

This commit is contained in:
wt committed 2025-07-16 14:57:35 +07:00
1 parent 4fde79595e
commit c42a9cd0cf
5 files changed
+83 -48

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
package utils
import (
"log"
"github.com/joho/godotenv"
)
func LoadEnv() {
err := godotenv.Load("auth_service.config")
if err != nil {
log.Fatal("Error loading .env file")
}
}