more refactor

This commit is contained in:
wt committed 2025-07-16 14:12:27 +07:00
1 parent 6413447f96
commit 3b78352109
16 files changed
+345 -219

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("./scm.conf")
if err != nil {
log.Fatal("Error loading .env file")
}
}