mirror of
https://github.com/jkaninda/mysql-bkup.git
synced 2025-12-07 05:59:43 +01:00
6
main.go
6
main.go
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user