correction main.go .env
All checks were successful
Build and Push BuildUp / build (push) Successful in 1m57s

This commit is contained in:
MatBureau
2026-04-01 15:15:08 +02:00
parent c67dbb1ddc
commit bbacfdc25b

View File

@@ -11,9 +11,7 @@ import (
func main() {
// .env 파일을 불러오세요
if err := godotenv.Load(); err != nil {
log.Fatalln("fichier .env non trouvé")
}
godotenv.Load()
InToken := os.Getenv("INFLUXDB_TOKEN")
InUrl := os.Getenv("INFLUXDB_URL")
InOrg := os.Getenv("INFLUXDB_ORG")