Merge pull request #39 from jkaninda/develop

refactor: clean up code
This commit is contained in:
2024-01-19 06:17:41 +01:00
committed by GitHub

View File

@@ -129,12 +129,6 @@ func init() {
return return
} }
} }
//dbHost = os.Getenv("DB_HOST")
//dbPassword = os.Getenv("DB_PASSWORD")
//dbUserName = os.Getenv("DB_USERNAME")
//dbName = os.Getenv("DB_NAME")
//dbPort = os.Getenv("DB_PORT")
//period = os.Getenv("SCHEDULE_PERIOD")
storage = os.Getenv("STORAGE") storage = os.Getenv("STORAGE")
err := os.Setenv("STORAGE_PATH", storagePath) err := os.Setenv("STORAGE_PATH", storagePath)
if err != nil { if err != nil {