This commit is contained in:
2019-12-26 16:08:43 -09:00
committed by Christopher Ramey
parent 56f7663171
commit e8d5116ac2
8 changed files with 19 additions and 19 deletions

View File

@ -1,14 +1,14 @@
package main
import (
"git.binarythought.com/cdramey/qurl/storage"
"time"
"fmt"
"path"
"git.binarythought.com/cdramey/qurl/storage"
"os"
"path"
"time"
)
func manageBackup(stor storage.Storage, dir string, interval int){
func manageBackup(stor storage.Storage, dir string, interval int) {
for {
time.Sleep(time.Duration(interval) * time.Second)
fname := fmt.Sprintf("qurl-%s.backup",