mirror of
https://github.com/jkaninda/mysql-bkup.git
synced 2025-12-06 13:39:41 +01:00
refactor: clean up code
This commit is contained in:
6
main.go
6
main.go
@@ -129,12 +129,6 @@ func init() {
|
||||
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")
|
||||
err := os.Setenv("STORAGE_PATH", storagePath)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user