correction main.go .env
All checks were successful
Build and Push BuildUp / build (push) Successful in 1m57s
All checks were successful
Build and Push BuildUp / build (push) Successful in 1m57s
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user