some refactoring
Build / Build (push) Successful in 10s

This commit is contained in:
wt committed 2025-07-16 14:45:52 +07:00
1 parent 49f6415c30
commit f01755caa8
5 files changed
+168 -42

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