refactor: refactoring of code

This commit is contained in:
2024-01-19 06:56:19 +01:00
parent 3537532d5f
commit 3525a90b93
5 changed files with 28 additions and 30 deletions

View File

@@ -8,8 +8,8 @@ import (
"path/filepath"
)
// Restore restore database
func Restore(file string) {
// RestoreDatabase restore database
func RestoreDatabase(file string) {
dbHost = os.Getenv("DB_HOST")
dbPassword = os.Getenv("DB_PASSWORD")
dbUserName = os.Getenv("DB_USERNAME")